Skip to content

Commit 0b4f5e2

Browse files
committed
Fix tests with css in common
1 parent 8031d3e commit 0b4f5e2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {};

packages/common/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"transform": {
3838
"^.+\\.[t|j]sx?$": "babel-jest",
3939
"^.+\\.svg$": "jest-svg-transformer"
40+
},
41+
"moduleNameMapper": {
42+
"\\.css$": "<rootDir>/__mocks__/styleMock.js"
4043
}
4144
},
4245
"dependencies": {

0 commit comments

Comments
 (0)