Thread the load-time child environment into the runner
This commit is contained in:
1 parent
e623dae30c
commit
dcc66a4b26
4 files changed
+12
-16
No files matched your search
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user