This repository was archived by the owner on Nov 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change 3
3
// Hover to view descriptions of existing attributes.
4
4
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
"version" : " 0.2.0" ,
6
- "configurations" : [
6
+ "configurations" : [
7
7
{
8
8
"type" : " node" ,
9
9
"request" : " attach" ,
10
10
"name" : " Attach by Process ID" ,
11
11
"processId" : " ${command:PickProcess}" ,
12
12
"protocol" : " inspector"
13
- }
13
+ },
14
+ {
15
+ "type" : " node" ,
16
+ "request" : " launch" ,
17
+ "name" : " Jest Current File" ,
18
+ "program" : " ${workspaceFolder}/node_modules/.bin/jest" ,
19
+ "args" : [
20
+ " ${fileBasenameNoExtension}" ,
21
+ " --detectOpenHandles"
22
+ ],
23
+ "console" : " integratedTerminal" ,
24
+ "internalConsoleOptions" : " neverOpen" ,
25
+ "disableOptimisticBPs" : true ,
26
+ "windows" : {
27
+ "program" : " ${workspaceFolder}/node_modules/jest/bin/jest" ,
28
+ }
29
+ },
30
+ {
31
+ "type" : " node" ,
32
+ "request" : " launch" ,
33
+ "name" : " Jest all" ,
34
+ "runtimeExecutable" : " npm" ,
35
+ "runtimeArgs" : [
36
+ " run-script" ,
37
+ " test"
38
+ ],
39
+ "port" : 9229 ,
40
+ "skipFiles" : [
41
+ " <node_internals>/**"
42
+ ]
43
+ },
14
44
]
15
45
}
You can’t perform that action at this time.
0 commit comments