Browse Source

整理整理代码

es6
guy 4 years ago
parent
commit
aadb473930
  1. 26
      karma.conf.js

26
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",

Loading…
Cancel
Save