mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[improvement] rename packages dir to src (#3659)
This commit is contained in:
@@ -7,11 +7,11 @@ module.exports = {
|
||||
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^packages/(.*)$': '<rootDir>/packages/$1'
|
||||
'^src/(.*)$': '<rootDir>/src/$1'
|
||||
},
|
||||
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
|
||||
collectCoverageFrom: [
|
||||
'packages/**/*.{js,ts,tsx,vue}',
|
||||
'src/**/*.{js,ts,tsx,vue}',
|
||||
'!**/style/**',
|
||||
'!**/demo/**',
|
||||
'!**/locale/lang/**',
|
||||
|
Reference in New Issue
Block a user