Created
March 7, 2018 10:03
-
-
Save robertscherbarth/825153f81a8c8920d1794b6ee882581c to your computer and use it in GitHub Desktop.
vscode launch.json to run mocha test
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": "Run mocha", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["--recursive", "test"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { | |
"NODE_ENV": "test" | |
} | |
} | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment