Closed almeidabbm closed 1 year ago
Not quite an issue, more of a question...
I haven't been able to go around the .scss imports when using Jest for tests. A solution that I have yet to try is to add moduleNameMapper like:
.scss
moduleNameMapper
"moduleNameMapper": { "something.scss": "<rootDir>/path/to/something.js" }
Wondering how you have been dealing with this scenario
This a good way to handle the css files in the test. 👍
Not quite an issue, more of a question...
I haven't been able to go around the
.scss
imports when using Jest for tests. A solution that I have yet to try is to addmoduleNameMapper
like:Wondering how you have been dealing with this scenario