mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 07:57:40 +00:00
test: enable vmForks for targeted channel test runs
Channel tests were always using process forks, missing the shared transform cache that vmForks provides. This caused ~138s import overhead per file. Now uses vmForks when available, matching the pattern already used by unit-fast and extensions suites.
This commit is contained in:
@@ -487,7 +487,7 @@ const createTargetedEntry = (owner, isolated, filters) => {
|
||||
"run",
|
||||
"--config",
|
||||
"vitest.channels.config.ts",
|
||||
...(forceForks ? ["--pool=forks"] : []),
|
||||
...(forceForks ? ["--pool=forks"] : useVmForks ? ["--pool=vmForks"] : []),
|
||||
...filters,
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user