-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: bump v1.2.4 revert #996 chunk names to minify prodution JS (#1086) fix missing comma Batman! add missing cacheBusting option make jest ignore the e2e test folder because its likely to contain files matching the jest's filename pattern Improved Jest config (#1074) Fix # 1070 When index.html has a positional variable, the error can be printed correctly (#1071) [enhancement]Remove useless files and performance enhancement in dev server. (#1072)
- Loading branch information
Showing
10 changed files
with
54 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
const path = require('path') | ||
|
||
module.exports = { | ||
rootDir: path.resolve(__dirname, '../../'), | ||
moduleFileExtensions: [ | ||
'js', | ||
'json', | ||
'vue' | ||
], | ||
moduleNameMapper: { | ||
'^@/(.*)$': '<rootDir>/src/$1' | ||
}, | ||
transform: { | ||
'^.+\\.js$': '<rootDir>/node_modules/babel-jest', | ||
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest' | ||
},{{#e2e}} | ||
testPathIgnorePatterns: [ | ||
'<rootDir>/test/e2e' | ||
],{{/e2e}} | ||
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'], | ||
setupFiles: ['<rootDir>/test/unit/setup'], | ||
mapCoverage: true, | ||
coverageDirectory: '<rootDir>/test/unit/coverage', | ||
collectCoverageFrom: [ | ||
'src/**/*.{js,vue}', | ||
'!src/main.js', | ||
{{#router}} | ||
'!src/router/index.js', | ||
{{/router}} | ||
'!**/node_modules/**' | ||
] | ||
} |