Last active
June 19, 2018 11:12
-
-
Save elias551/5fbe8ae0cbb2cf955e727707385d3f70 to your computer and use it in GitHub Desktop.
Create-React-App typescript - lauch.json for VS Code with jest tests debug
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Chrome", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceRoot}/src" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Tests", | |
"program": | |
"${workspaceRoot}/node_modules/react-scripts-ts/scripts/test.js", | |
"args": ["${file}", "--runInBand", "--env=jsdom"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment