mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-19 20:49:33 +01:00
test(discord): give the bare cleanup server the bridge its delete path now calls
This commit is contained in:
1 parent
6d4357502b
commit
2d4036cf1e
1 file changed
+2
@@ -49,6 +49,8 @@ function bareServer(live: string[] = [], persisted: string[] = []): CleanupServe
|
|||||||
stopTranscriptWatcher: () => {},
|
stopTranscriptWatcher: () => {},
|
||||||
persistDeb: { cancelKey: () => {} },
|
persistDeb: { cancelKey: () => {} },
|
||||||
sse: { cleanupSessionBatches: () => {} },
|
sse: { cleanupSessionBatches: () => {} },
|
||||||
|
// A real delete also tells the Discord bridge, which frees its per-tab state and may archive the thread.
|
||||||
|
discordBridge: { sessionDeleted: async () => {} },
|
||||||
broadcast: () => {},
|
broadcast: () => {},
|
||||||
});
|
});
|
||||||
return server;
|
return server;
|
||||||
|
|||||||
Reference in new issue
Block a user