test(server): stop runtime fixture processes during teardown

Terminate tracked runtime services after each workspace-runtime test so manual-lifecycle fixtures do not leak listeners into later test runs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-09-10 09:25:02 -05:00
parent 0bdf023db9
commit cc4f0069d2
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ afterEach(async () => {
delete process.env.PAPERCLIP_INSTANCE_ID;
delete process.env.PAPERCLIP_WORKTREES_DIR;
delete process.env.DATABASE_URL;
await resetRuntimeServicesForTests();
await resetRuntimeServicesForTests({ terminateProcesses: true });
});
describe("sanitizeRuntimeServiceBaseEnv", () => {