test(discord): give the bare cleanup server the bridge its delete path now calls

This commit is contained in:
Devvyn committed 2026-10-30 01:50:24 +08:00
1 parent 6d4357502b
commit 2d4036cf1e
1 file changed
+2
+2
View File
@@ -49,6 +49,8 @@ function bareServer(live: string[] = [], persisted: string[] = []): CleanupServe
stopTranscriptWatcher: () => {},
persistDeb: { cancelKey: () => {} },
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: () => {},
});
return server;