Skip to content

Commit

Permalink
jest: use setupFilesAfterEnv instead of setupTestFrameworkScriptFile
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Feb 21, 2019
1 parent 86f1b67 commit be6fbce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"transformIgnorePatterns": [
"<rootDir>/node_modules"
],
"setupTestFrameworkScriptFile": "./setupApp.ts",
"setupFilesAfterEnv": [
"./setupApp.ts"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|svg|ttf|woff|woff2)$": "<rootDir>/fileMock.ts",
"\\.(css|less)$": "identity-obj-proxy"
Expand Down

0 comments on commit be6fbce

Please sign in to comment.