Skip to content

Instantly share code, notes, and snippets.

@banyudu
Last active March 22, 2017 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banyudu/339df0e3b5c49bd44128c0120c7931d1 to your computer and use it in GitHub Desktop.
Save banyudu/339df0e3b5c49bd44128c0120c7931d1 to your computer and use it in GitHub Desktop.
vscode launch.js for mocha test, copied from https://gist.github.com/paambaati/54d33e409b4f7cf059cc
{
"name": "Run mocha",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": ["test/**/*.js", "--no-timeouts"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"env": { "NODE_ENV": "testing"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment