Skip to content

Commit 009247e

Browse files
authored
Added svg to be resolved with identity-obj-proxy in jest (#8)
1 parent 7cceaae commit 009247e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/jest.config.template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ module.exports = {
4444
},
4545
},
4646
moduleNameMapper: {
47-
'^.+\\.(css|less|scss|sass|png|jpg|gif|html)$': 'identity-obj-proxy',
47+
'^.+\\.(css|less|scss|sass|png|jpg|gif|svg|html)$': 'identity-obj-proxy',
4848
},
4949
};

0 commit comments

Comments
 (0)