From 9cf4518936cecd1da112191f0aedcfdc7e5300b1 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 29 Jan 2020 18:03:42 -0500 Subject: [PATCH] chore: fix test alias for vue --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 46f235dc..385de9c4 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)'],