Skip to content

Commit 1bd04ac

Browse files
committed
fix: route respawn hint env clears
1 parent 294779e commit 1bd04ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/infra/process-respawn.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Covers process respawn behavior across supervisors.
22
import { afterEach, describe, expect, it, vi } from "vitest";
3-
import { captureFullEnv } from "../test-utils/env.js";
3+
import { captureFullEnv, deleteTestEnvValue } from "../test-utils/env.js";
44
import { mockProcessPlatform } from "../test-utils/vitest-spies.js";
55
import { SUPERVISOR_HINT_ENV_VARS } from "./supervisor-markers.js";
66

@@ -50,7 +50,7 @@ afterEach(() => {
5050

5151
function clearSupervisorHints() {
5252
for (const key of SUPERVISOR_HINT_ENV_VARS) {
53-
delete process.env[key];
53+
deleteTestEnvValue(key);
5454
}
5555
}
5656

0 commit comments

Comments
 (0)