mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
test(server): close plugin heartbeat db client
This commit is contained in:
1 parent
55418c3fb7
commit
44cd1cd6f8
1 file changed
+2
@@ -35,6 +35,7 @@ vi.mock("../adapters/index.js", () => ({
|
||||
execute: adapterExecute,
|
||||
supportsLocalAgentJwt: false,
|
||||
}),
|
||||
listAdapterModelProfiles: async () => [],
|
||||
runningProcesses: new Map(),
|
||||
}));
|
||||
|
||||
@@ -67,6 +68,7 @@ describeEmbeddedPostgres("heartbeat plugin environments", () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await db.$client.end();
|
||||
await stopDb?.();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user