mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 12:04:41 +01:00
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:
1 parent
0bdf023db9
commit
cc4f0069d2
1 file changed
+1
-1
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user