From: Evan You Date: Wed, 29 Jan 2020 23:03:42 +0000 (-0500) Subject: chore: fix test alias for vue X-Git-Tag: v3.0.0-alpha.5~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9cf4518936cecd1da112191f0aedcfdc7e5300b1;p=thirdparty%2Fvuejs%2Fcore.git chore: fix test alias for vue --- diff --git a/jest.config.js b/jest.config.js index 46f235dc41..385de9c497 100644 --- a/jest.config.js +++ b/jest.config.js @@ -22,7 +22,8 @@ module.exports = { watchPathIgnorePatterns: ['/node_modules/'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], moduleNameMapper: { - '^@vue/(.*?)$': '/packages/$1/src' + '^@vue/(.*?)$': '/packages/$1/src', + vue: '/packages/vue/src' }, rootDir: __dirname, testMatch: ['/packages/**/__tests__/**/*spec.[jt]s?(x)'],