Skip to content

Instantly share code, notes, and snippets.

@janbaer
Last active November 15, 2020 08:38
Show Gist options
  • Select an option

  • Save janbaer/2edf48f25f7b7002e3b3ff1fe4de7dcd to your computer and use it in GitHub Desktop.

Select an option

Save janbaer/2edf48f25f7b7002e3b3ff1fe4de7dcd to your computer and use it in GitHub Desktop.

Revisions

  1. janbaer renamed this gist Nov 15, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. janbaer revised this gist Nov 15, 2020. No changes.
  3. janbaer created this gist Nov 15, 2020.
    21 changes: 21 additions & 0 deletions launch.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "type": "node",
    "request": "launch",
    "name": "Jest Current File",
    "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
    "cwd": "${workspaceFolder}",
    "args": [
    "--config=${workspaceFolder}/jest.config.json",
    "--runInBand",
    "--no-cache",
    "--testPathPattern=${fileBasenameNoExtension}"
    ],
    "console": "internalConsole",
    "internalConsoleOptions": "neverOpen",
    "disableOptimisticBPs": true
    }
    ]
    }