chore: fix test alias for vue
This commit is contained in:
parent
eaf414f063
commit
9cf4518936
@ -22,7 +22,8 @@ module.exports = {
|
|||||||
watchPathIgnorePatterns: ['/node_modules/'],
|
watchPathIgnorePatterns: ['/node_modules/'],
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'
|
'^@vue/(.*?)$': '<rootDir>/packages/$1/src',
|
||||||
|
vue: '<rootDir>/packages/vue/src'
|
||||||
},
|
},
|
||||||
rootDir: __dirname,
|
rootDir: __dirname,
|
||||||
testMatch: ['<rootDir>/packages/**/__tests__/**/*spec.[jt]s?(x)'],
|
testMatch: ['<rootDir>/packages/**/__tests__/**/*spec.[jt]s?(x)'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user