diff --git a/.babelrc.js b/babel.config.js similarity index 100% rename from .babelrc.js rename to babel.config.js diff --git a/jest.config.js b/jest.config.js index 5e923e9..e90342b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,6 +12,7 @@ module.exports = { '^.+\\.js$': 'babel-jest', '\\.(gql|graphql)$': 'jest-transform-graphql', }, + transformIgnorePatterns: ['/node_modules/(?!vue-cli-plugin-apollo).+\\.js$'], moduleNameMapper: require('./aliases.config').jest, snapshotSerializers: ['jest-serializer-vue'], coverageDirectory: '/tests/unit/coverage',