mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Mock imported styles for jest (#628)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
d923053844
commit
65df0c810a
1
__mocks__/styleMock.ts
Normal file
1
__mocks__/styleMock.ts
Normal file
@ -0,0 +1 @@
|
||||
module.exports = {};
|
||||
@ -67,6 +67,9 @@
|
||||
"testEnvironment": "node",
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"moduleNameMapper": {
|
||||
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user