debugger: Fix a couple of issues with vitest (#32543)
- Pass the right test name filter - Limit the number of forks used by the testing pool in the spirit of #32473 Release Notes: - Debugger Beta: switched to running vitest tests serially when debugging.
This commit is contained in:
parent
2ecc24eb26
commit
06f7d791b7
2 changed files with 8 additions and 1 deletions
|
@ -54,6 +54,10 @@ impl DapLocator for NodeLocator {
|
|||
"runtimeExecutable": program_path,
|
||||
"args": args,
|
||||
"cwd": build_config.cwd.clone(),
|
||||
"env": {
|
||||
"VITEST_MIN_FORKS": "0",
|
||||
"VITEST_MAX_FORKS": "1"
|
||||
},
|
||||
"runtimeArgs": ["--inspect-brk"],
|
||||
"console": "integratedTerminal",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue