|
52 | 52 | "internalConsoleOptions": "openOnSessionStart",
|
53 | 53 | "outputCapture": "std"
|
54 | 54 | },
|
55 |
| - // Run a specific test file in watch mode (must have file in currently active tab when hitting the play button). |
56 |
| - // NOTE: If you try to run this and VSCode complains that the command `shellCommand.execute` can't be found, go |
57 |
| - // install the recommended extension Tasks Shell Input. |
58 |
| - { |
59 |
| - "name": "Debug unit tests - just open file", |
60 |
| - "type": "node", |
61 |
| - "cwd": "${workspaceFolder}/packages/${input:getPackageName}", |
62 |
| - "request": "launch", |
63 |
| - "program": "${workspaceFolder}/node_modules/.bin/jest", |
64 |
| - "args": [ |
65 |
| - "--watch", |
66 |
| - // this runs one test at a time, rather than running them in parallel (necessary for debugging so that you know |
67 |
| - // you're hitting a single test's breakpoints, in order) |
68 |
| - "--runInBand", |
69 |
| - // coverage messes up the source maps |
70 |
| - "--coverage", |
71 |
| - "false", |
72 |
| - // remove this to run all package tests |
73 |
| - "${relativeFile}" |
74 |
| - ], |
75 |
| - "sourceMaps": true, |
76 |
| - "smartStep": true, |
77 |
| - // otherwise it goes to the VSCode debug terminal, which prints the test output or console logs (depending on |
78 |
| - // "outputCapture" option here; default is to show console logs), but not both |
79 |
| - "console": "integratedTerminal", |
80 |
| - // since we're not using it, don't automatically switch to it |
81 |
| - "internalConsoleOptions": "neverOpen" |
82 |
| - }, |
83 |
| - |
84 | 55 | // Run a specific test file in watch mode (must have file in currently active tab when hitting the play button).
|
85 | 56 | // NOTE: If you try to run this and VSCode complains that the command `shellCommand.execute` can't be found, go
|
86 | 57 | // install the recommended extension Tasks Shell Input.
|
|
0 commit comments