Skip to content

Commit c3c3740

Browse files
committed
test: fix module mapping for consolidate
1 parent 471f66a commit c3c3740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jest.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ module.exports = {
4444
watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
4545
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
4646
moduleNameMapper: {
47+
'@vue/consolidate': '@vue/consolidate',
4748
'@vue/compat': '<rootDir>/packages/vue-compat/src',
4849
'^@vue/(.*?)$': '<rootDir>/packages/$1/src',
49-
vue: '<rootDir>/packages/vue/src',
50-
'@vue/consolidate': '@vue/consolidate'
50+
vue: '<rootDir>/packages/vue/src'
5151
},
5252
rootDir: __dirname,
5353
testMatch: ['<rootDir>/packages/**/__tests__/**/*spec.[jt]s?(x)'],

0 commit comments

Comments
 (0)