From aadb473930359f85c7745e4e01cc9b42489c5b8e Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 31 Mar 2021 23:20:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E6=95=B4=E7=90=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- karma.conf.js | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 874d47a09..8b5bca997 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -22,23 +22,7 @@ module.exports = function (config) { "dist/fineui.min.css", "src/core/**/*.js", "src/data/**/*.js", - "src/data/**/*.js", - "src/data/**/*.js", "src/third/**/*.js", - "src/base/pane.js", - "src/base/single/single.js", - "src/base/single/text.js", - "src/base/single/button/button.basic.js", - "src/base/single/button/button.node.js", - "src/base/single/tip/tip.js", - "src/base/combination/group.button.js", - "src/base/combination/tree.button.js", - "src/base/platform/web/ztree/treeview.js", - "src/base/platform/web/ztree/asynctree.js", - "src/case/ztree/parttree.js", - "src/case/ztree/list/listtreeview.js", - "src/case/ztree/list/listasynctree.js", - "src/case/ztree/list/listparttree.js", "src/base/**/*.js", "src/case/**/*.js", "src/widget/**/*.js", @@ -50,12 +34,9 @@ module.exports = function (config) { ], exclude: [ - "src/base/tree/ztree/jquery.ztree.core-3.5.js", - "src/base/tree/ztree/jquery.ztree.excheck-3.5.js", "src/base/single/input/file.js", "src/case/loading/loading_pane.js", - "src/base/tree/ztree/**/*.js", - "src/case/tree/ztree/*.js", + "src/case/ztree/**/*.js", "src/widget/multitree/**/*.js", "src/widget/multiselecttree/**/*.js", "src/component/treevaluechooser/*.js" @@ -65,9 +46,8 @@ module.exports = function (config) { // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { - "src/core/alias.js": "coverage", - "src/core/base.js": "coverage", - "src/core/func/date.js": "coverage", + "src/core/1.base.js": "coverage", + "src/core/func/**/*.js": "coverage", "src/base/**/!(*.test).js": "coverage", "src/case/**/!(*.test).js": "coverage", "src/widget/**/!(*.test).js": "coverage",