Excluded router
This commit is contained in:
parent
18bd1d5555
commit
e6e9ceb22e
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
preset: "@vue/cli-plugin-unit-jest",
|
preset: "@vue/cli-plugin-unit-jest",
|
||||||
transform: { "^.+\\.vue$": "vue-jest", },
|
transform: { "^.+\\.vue$": "vue-jest", },
|
||||||
moduleFileExtensions: ['js', 'vue'],
|
moduleFileExtensions: ['js', 'vue'],
|
||||||
collectCoverageFrom: ["src/**/*.{js,vue}", "!src/main.js", "!src/constants/*.js"], //! means exclude from coverage.
|
collectCoverageFrom: ["src/**/*.{js,vue}", "!src/main.js", "!src/constants/*.js", "!src/router/*.js"], //! means exclude from coverage.
|
||||||
testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"],
|
testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"],
|
||||||
coverageThreshold: {
|
coverageThreshold: {
|
||||||
global: {
|
global: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue