Skip to content

Commit

Permalink
Transpile imports in node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbalbp committed Jul 21, 2018
1 parent 79a0ffe commit c24e845
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 c24e845

Please sign in to comment.