Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 5206931

Browse files
committed
feat(css): update jest config to mock .scss imports to fix test failures
1 parent add82bf commit 5206931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"<rootDir>/__mocks__/matchMediaMock.js"
149149
],
150150
"moduleNameMapper": {
151-
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
151+
"\\.(css|scss|less)$": "<rootDir>/__mocks__/styleMock.js"
152152
}
153153
}
154154
}

0 commit comments

Comments
 (0)