🆙 vue in jest.config
This commit is contained in:
parent
88bbe25afd
commit
51ed4bfbd5
@ -8,7 +8,7 @@ export default {
|
|||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.ts$': 'ts-jest',
|
'^.+\\.ts$': 'ts-jest',
|
||||||
'^.+\\.vue$': 'vue-jest'
|
'^.+\\.vue$': '@vue/vue3-jest'
|
||||||
},
|
},
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'^@/(.*)$': '<rootDir>/src/$1',
|
'^@/(.*)$': '<rootDir>/src/$1',
|
||||||
|
Loading…
Reference in New Issue
Block a user