Last active
May 25, 2017 11:07
-
-
Save pahund/3e16c99357cb5cefbb6ef3baabebb6ca to your computer and use it in GitHub Desktop.
Setting up a Jest mock for React components styled with Sass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"jest": { | |
"moduleNameMapper": { | |
"\\.scss$": "<rootDir>/test/styleMock.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment