Fix jest test
This commit is contained in:
parent
a168b3141e
commit
38313ecb26
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue