Skip to content

Commit

Permalink
Merge pull request #32 from frandiox/jest-babel-fix
Browse files Browse the repository at this point in the history
Transpile imports in node_modules
  • Loading branch information
frandiox authored Jul 22, 2018
2 parents a1aad25 + c24e845 commit c53509c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<rootDir>/tests/unit/coverage',
Expand Down

0 comments on commit c53509c

Please sign in to comment.