Skip to content

Commit

Permalink
test(jest-config): polish up
Browse files Browse the repository at this point in the history
issue #64
  • Loading branch information
sabertazimi committed Aug 4, 2021
1 parent bd7d843 commit df1f21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ module.exports = {
transform: {
'^.+\\.[jt]sx?$': '<rootDir>/jest.transformer.js',
},
transformIgnorePatterns: ['node_modules/(?!(gatsby)/)'],
moduleNameMapper: {
'.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
'.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/__mocks__/jest.mock.js',
...paths,
},
testPathIgnorePatterns: ['node_modules', '\\.cache', '<rootDir>.*/public'],
transformIgnorePatterns: ['node_modules/(?!(gatsby)/)'],
globals: {
__PATH_PREFIX__: '',
},
Expand Down

0 comments on commit df1f21d

Please sign in to comment.