Thread the load-time child environment into the runner

This commit is contained in:
alex committed 2026-12-01 11:56:55 +00:00
1 parent e623dae30c
commit dcc66a4b26
4 files changed
+12 -16

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ function makeTask(overrides: Partial<PreparedTask> = {}): PreparedTask {
};
}
function makeRunner(env: NodeJS.ProcessEnv = {}, options: ProcessRunnerOptions = {}): ProcessRunner {
function makeRunner(env: NodeJS.ProcessEnv = {}, options: Omit<ProcessRunnerOptions, "env"> = {}): ProcessRunner {
return new ProcessRunner({
invocation: (args) => ({ command: process.execPath, args: [fixturePath, ...args] }),
killGraceMs: 150,