chore: fix test alias for vue

This commit is contained in:
Evan You 2020-01-29 18:03:42 -05:00
parent eaf414f063
commit 9cf4518936

View File

@ -22,7 +22,8 @@ module.exports = {
watchPathIgnorePatterns: ['/node_modules/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
moduleNameMapper: {
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'
'^@vue/(.*?)$': '<rootDir>/packages/$1/src',
vue: '<rootDir>/packages/vue/src'
},
rootDir: __dirname,
testMatch: ['<rootDir>/packages/**/__tests__/**/*spec.[jt]s?(x)'],