Skip to content

Commit 7e074f8

Browse files
committed
update config for mocking css/less/scss
1 parent 3e016fa commit 7e074f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
module.exports = {
22
testEnvironment: "jsdom",
3+
moduleNameMapper: {
4+
".(css|less|scss)$": "identity-obj-proxy",
5+
},
36
};

0 commit comments

Comments
 (0)