Skip to content

Commit

Permalink
Config improvements (#2366)
Browse files Browse the repository at this point in the history
Debug config for Jest
  • Loading branch information
felixfbecker committed Feb 19, 2019
1 parent 28f2155 commit fac5944
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .vscode/launch.json
@@ -1,6 +1,28 @@
{
"version": "0.1.0",
"configurations": [
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": [
"--color",
"--runInBand"
// "path/to/test/file",
// "-t",
// "test name"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": [
"**/async_hooks.js",
"**/inspector_async_hook.js"
// "**/node_modules/rxjs"
],
"smartStep": false
},
{
"type": "node",
"request": "launch",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@sourcegraph/tsconfig/tsconfig.json",
"extends": "@sourcegraph/tsconfig",
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
Expand Down

0 comments on commit fac5944

Please sign in to comment.