|
2 | 2 | "version": "0.2.0",
|
3 | 3 | "configurations": [
|
4 | 4 | {
|
5 |
| - "name": "Attach to packager", |
6 |
| - "cwd": "${workspaceFolder}", |
7 |
| - "type": "reactnative", |
8 |
| - "request": "attach" |
9 |
| - }, |
10 |
| - { |
11 |
| - "type": "node", |
12 |
| - "request": "launch", |
13 |
| - "name": "Debug e2e:android", |
14 |
| - "cwd": "${workspaceFolder}/sample", |
15 |
| - "program": "./node_modules/jest/bin/jest", |
16 |
| - "args": [ |
17 |
| - "--runInBand", |
18 |
| - "--config=./jest.config.js" |
19 |
| - ], |
20 |
| - "env": { |
21 |
| - "PLATFORM": "android" |
22 |
| - }, |
23 |
| - "console": "integratedTerminal", |
24 |
| - "internalConsoleOptions": "neverOpen" |
25 |
| - }, |
26 |
| - { |
27 |
| - "type": "node", |
28 |
| - "request": "launch", |
29 |
| - "name": "Debug e2e:ios", |
30 |
| - "cwd": "${workspaceFolder}/sample", |
31 |
| - "program": "./node_modules/jest/bin/jest", |
32 |
| - "args": [ |
33 |
| - "--runInBand", |
34 |
| - "--config=./jest.config.js" |
35 |
| - ], |
36 |
| - "env": { |
37 |
| - "PLATFORM": "ios" |
38 |
| - }, |
39 |
| - "console": "integratedTerminal", |
40 |
| - "internalConsoleOptions": "neverOpen" |
41 |
| - }, |
42 |
| - { |
43 |
| - "name": "Debug Sample - iOS", |
44 |
| - "cwd": "${workspaceFolder}", |
45 |
| - "type": "reactnative", |
46 |
| - "request": "launch", |
47 |
| - "platform": "ios", |
48 |
| - "isDynamic": true |
| 5 | + "name": "Jest Tests", |
| 6 | + "type": "node", |
| 7 | + "request": "launch", |
| 8 | + "runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/jest/bin/jest.js"], |
| 9 | + "args": ["--runInBand", "-t", ""], |
| 10 | + "cwd": "${workspaceRoot}", |
| 11 | + "console": "integratedTerminal", |
| 12 | + "internalConsoleOptions": "neverOpen", |
| 13 | + "outputCapture": "std", |
| 14 | + "sourceMaps": true, |
| 15 | + "smartStep": true |
49 | 16 | },
|
| 17 | + |
50 | 18 | ]
|
51 | 19 | }
|
0 commit comments