Skip to content

Commit e05fb22

Browse files
authored
Ignore imported images when running tests
1 parent 01d2efd commit e05fb22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jest.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module.exports = {
66
],
77
transform: {
88
'^.+\\.(ts|tsx)$': 'ts-jest',
9+
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
10+
'./config/fileTransformer.js',
911
},
1012
globals: {
1113
'ts-jest': {

0 commit comments

Comments
 (0)