2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

add code coverage

This commit is contained in:
Jeff
2018-08-12 19:46:26 -07:00
parent e602cb8805
commit f8385795f3
2 changed files with 12 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ yarn-error.log*
*.sw*
# Project specific
coverage
test/unit/coverage
.coveralls.yml
.flowconfig
+11 -1
View File
@@ -75,7 +75,17 @@
"testMatch": [
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
],
"testURL": "http://localhost/"
"testURL": "http://localhost/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/mixins/*.js",
"src/components/Select.vue",
"!**/node_modules/**"
],
"coverageReporters": [
"html",
"text-summary"
]
},
"gitHooks": {
"pre-commit": "lint-staged"