Last active
November 1, 2022 18:32
-
-
Save pmuellr/065201348fc19e53ff8568b3be41faa2 to your computer and use it in GitHub Desktop.
kibana jest launch config for vs code to launch the current file as a jest test; add this object to the `configurations` property of your `.vscode/launch.json` file
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
{ | |
"type": "node", | |
"name": "jest current file", | |
"program": "scripts/jest.js", | |
"args": [ | |
"--runInBand", | |
"--colors", | |
"--testTimeout=60000", | |
"${relativeFile}" | |
], | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"outputCapture": "std", | |
"env": { | |
"COLORS": "1" | |
}, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more info on debugging in vscode, see: