Skip to content

Commit 90290df

Browse files
committed
fix: make minor configurations
1 parent ee35224 commit 90290df

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Diff for: babel.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
transform: 'vuetify/es5/components/${member}', // eslint-disable-line no-template-curly-in-string
1818
preventFullImport: false
1919
}
20-
}],
21-
['istanbul']
20+
}]
21+
// ['istanbul']
2222
]
2323
}

Diff for: jest.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@ module.exports = {
55
],
66
moduleNameMapper: {
77
'^@/(.*)$': '<rootDir>/src/$1',
8-
'^~/(.*)$': '<rootDir>/src/$1',
98
'^vue$': 'vue/dist/vue.common.js'
109
},
1110
moduleFileExtensions: ['js', 'vue', 'json'],
1211
transform: {
1312
'^.+\\.js$': 'babel-jest',
1413
'.*\\.(vue)$': 'vue-jest'
1514
},
16-
collectCoverage: false,
15+
collectCoverage: true,
1716
collectCoverageFrom: [
18-
'<rootDir>/components/**/*.vue',
19-
'<rootDir>/pages/**/*.vue'
17+
'<rootDir>/**/*.vue'
2018
]
2119
}

0 commit comments

Comments
 (0)