chore: adjust path of test utils (#4997)

This commit is contained in:
neverland
2019-11-13 16:46:01 +08:00
committed by GitHub
parent 4cd132c0ee
commit aee1091c5c
125 changed files with 231 additions and 220 deletions

View File

@@ -2,9 +2,9 @@ module.exports = {
moduleFileExtensions: ['js', 'jsx', 'vue', 'ts', 'tsx'],
transform: {
'\\.(vue)$': 'vue-jest',
'\\.(js|jsx|ts|tsx)$': '<rootDir>/test/jest.transform.js',
'\\.(js|jsx|ts|tsx)$': '<rootDir>/test/transformer.js',
},
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
snapshotSerializers: ['jest-serializer-vue'],
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx,vue}',
'!**/style/**',