|
5 | 5 | "version": "0.2.0", |
6 | 6 | "configurations": [ |
7 | 7 | { |
8 | | - "name": "Debug Tests", |
9 | | - "type": "node", |
10 | | - "request": "launch", |
11 | | - "runtimeExecutable": "${workspaceRoot}/app/node_modules/.bin/react-scripts", |
12 | | - "args": ["test", "--runInBand", "--no-cache", "--watchAll=false"], |
13 | | - "cwd": "${workspaceRoot}/app/", |
14 | | - "protocol": "inspector", |
15 | | - "console": "integratedTerminal", |
16 | | - "internalConsoleOptions": "neverOpen", |
17 | | - "env": { "CI": "true" }, |
18 | | - "disableOptimisticBPs": true |
19 | | - }, |
20 | | - |
21 | | - |
22 | | - { |
23 | | - "name": "test_custom_channels", |
| 8 | + "name": "Debug itest", |
24 | 9 | "type": "go", |
25 | 10 | "request": "launch", |
26 | 11 | "mode": "test", |
| 12 | + "preLaunchTask": "reset before itest", |
27 | 13 | "program": "${workspaceFolder}/itest", |
28 | | - "args": [ |
29 | | - "-test.v", |
30 | | - "-test.run=TestLightningTerminal/test_custom_channels", |
31 | | - "-loglevel=trace", |
32 | | - "-btcdexec=./btcd-itest", |
33 | | - "-litdexec=./litd-itest", |
34 | | - "-logdir=regtest", |
35 | | - ], |
36 | 14 | "env": { |
37 | 15 | "GOEXPERIMENT": "loopvar", |
38 | 16 | "GO111MODULE": "on" |
39 | 17 | }, |
| 18 | + "args": [ |
| 19 | + "-test.v", |
| 20 | + "-test.run=TestLightningTerminal/test_custom_channels", |
| 21 | + "-loglevel=trace", |
| 22 | + "-btcdexec=./btcd-itest", |
| 23 | + "-logdir=${workspaceFolder}/itest/.logs", |
| 24 | + "-litdexec=${workspaceFolder}/itest/litd-itest", |
| 25 | + ], |
40 | 26 | "buildFlags": [ |
41 | | - "-tags=dev monitoring autopilotrpc chainrpc invoicesrpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc integration itest btcd", |
| 27 | + "-tags=dev integration itest autopilotrpc routerrpc signrpc verrpc walletrpc chainrpc invoicesrpc watchtowerrpc wtclientrpc peersrpc btcd monitoring", |
42 | 28 | ], |
43 | 29 | "hideSystemGoroutines": true, |
44 | | -} |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
| 30 | + }, |
| 31 | + { |
| 32 | + "name": "Debug Tests", |
| 33 | + "type": "node", |
| 34 | + "request": "launch", |
| 35 | + "runtimeExecutable": "${workspaceRoot}/app/node_modules/.bin/react-scripts", |
| 36 | + "args": [ |
| 37 | + "test", |
| 38 | + "--runInBand", |
| 39 | + "--no-cache", |
| 40 | + "--watchAll=false" |
| 41 | + ], |
| 42 | + "cwd": "${workspaceRoot}/app/", |
| 43 | + "protocol": "inspector", |
| 44 | + "console": "integratedTerminal", |
| 45 | + "internalConsoleOptions": "neverOpen", |
| 46 | + "env": { |
| 47 | + "CI": "true" |
| 48 | + }, |
| 49 | + "disableOptimisticBPs": true |
| 50 | + } |
61 | 51 | ] |
62 | 52 | } |
0 commit comments