Skip to content

Instantly share code, notes, and snippets.

@pmuellr
Last active November 1, 2022 18:32
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 pmuellr/065201348fc19e53ff8568b3be41faa2 to your computer and use it in GitHub Desktop.
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
{
"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",
},
@pmuellr
Copy link
Author

pmuellr commented Nov 1, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment