Skip to content

Instantly share code, notes, and snippets.

@pyrho
Created January 25, 2021 18:23
Show Gist options
  • Save pyrho/296e957645a2e5472c6368d6e9fb5fb0 to your computer and use it in GitHub Desktop.
Save pyrho/296e957645a2e5472c6368d6e9fb5fb0 to your computer and use it in GitHub Desktop.
VSCode launch.json for Typescript AVA unit tests
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run AVA test",
"program": "${workspaceRoot}/node_modules/.bin/ava",
"args": [
"${file}",
"-r ts-node/register"
],
"skipFiles": [
"<node_internals>/**/*.js"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment