Last active
June 15, 2019 15:33
-
-
Save raecoo/792dc07389d6e6b6f8d96e179212cee0 to your computer and use it in GitHub Desktop.
TypeScript unittest in VS Code
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
// Ref: https://medium.com/@RupaniChirag/writing-unit-tests-in-typescript-d4719b8a0a40 | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Current File", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"--no-timeouts", | |
"--colors", | |
"${file}", | |
"--require", | |
"ts-node/register" | |
], | |
"console": "integratedTerminal", | |
"sourceMaps": true, | |
"internalConsoleOptions": "neverOpen" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment