mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
add code coverage
This commit is contained in:
@@ -20,6 +20,7 @@ yarn-error.log*
|
|||||||
*.sw*
|
*.sw*
|
||||||
|
|
||||||
# Project specific
|
# Project specific
|
||||||
|
coverage
|
||||||
test/unit/coverage
|
test/unit/coverage
|
||||||
.coveralls.yml
|
.coveralls.yml
|
||||||
.flowconfig
|
.flowconfig
|
||||||
|
|||||||
+11
-1
@@ -75,7 +75,17 @@
|
|||||||
"testMatch": [
|
"testMatch": [
|
||||||
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
|
"**/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": {
|
"gitHooks": {
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged"
|
||||||
|
|||||||
Reference in New Issue
Block a user