Skip to content

Commit

Permalink
fix(config): adds .png to jest mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 3, 2024
1 parent af4db4e commit 6f30126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jest/jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
'\\.(gif|ttf|eot|svg)$': '<rootDir>/__mocks__/fileMock.js',
'\\.(gif|ttf|eot|png|svg)$': '<rootDir>/__mocks__/fileMock.js',
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
snapshotSerializers: ['@emotion/jest/serializer'],
Expand Down

0 comments on commit 6f30126

Please sign in to comment.