Created
May 27, 2017 16:53
-
-
Save pahund/3f70d9656eb756afeb698836a47e1b35 to your computer and use it in GitHub Desktop.
Using “setupTestFrameworkScriptFile” in package.json
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": { | |
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js", | |
"moduleNameMapper": { | |
"\\.scss$": "<rootDir>/test/styleMock.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment