Skip to content

Commit

Permalink
fix: Be more precise on styles mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed Mar 30, 2021
1 parent d058c6f commit 4b77c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cozy-scripts/template/app/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
moduleNameMapper: {
'\\.(png|gif|jpe?g|svg)$': '<rootDir>/test/__mocks__/fileMock.js',
// identity-obj-proxy module is installed by cozy-scripts
styles: 'identity-obj-proxy'
'.styl$': 'identity-obj-proxy'
},
transformIgnorePatterns: ['node_modules/(?!cozy-ui)'],
globals: {
Expand Down

0 comments on commit 4b77c2c

Please sign in to comment.