Fix jest test

This commit is contained in:
Ramon Wenger 2021-05-12 15:56:46 +02:00
parent a168b3141e
commit 38313ecb26
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ module.exports = {
'/node_modules/' '/node_modules/'
], ],
moduleNameMapper: { moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1' '^@/(.*)$': '<rootDir>/src/$1',
'^gql/(.*)$': '<rootDir>/src/graphql/gql/$1',
}, },
snapshotSerializers: [ snapshotSerializers: [
'<rootDir>/node_modules/jest-serializer-vue' '<rootDir>/node_modules/jest-serializer-vue'