单元测试 排除src/目录 (#13)

* unit test exclude src/
This commit is contained in:
Yao
2017-04-25 20:39:18 +08:00
committed by GitHub
parent 13d6935b1a
commit fab9682e9a
3 changed files with 2 additions and 33 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
"clean": "rimraf lib && rimraf packages/*/lib",
"lint": "felint lint src/**/*.js packages/**/*.{js,vue} build/**/*.js",
"test": "karma start test/unit/karma.conf.js --single-run",
"test:coverage": "find test/unit/coverage/lcov-report -name 'index.html' | sed -n 1,1p | xargs -I {} open {} ",
"test:coverage": "open test/unit/coverage/lcov-report/index.html",
"test:watch": "karma start test/unit/karma.conf.js",
"release": "npm run bootstrap && sh build/release.sh"
},