mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-06 05:56:19 +01:00
test: complete retry boundary runtime lifecycle fixture
Give the no-op retry service runtime its required read-only lifecycle accessor. Preserve all singleflight, authority and shutdown assertions; keep production lifecycle checks strict. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
9d945fbd12
commit
0d7d4c6407
1 file changed
+1
-1
@@ -14,7 +14,7 @@ function createService(db: Db) {
|
||||
const runtimeShutdown = vi.fn().mockResolvedValue(undefined);
|
||||
const service = chatChannelService(db, {
|
||||
heartbeat: { wakeup },
|
||||
runtime: { shutdown: runtimeShutdown } as unknown as ChatChannelServiceOptions["runtime"],
|
||||
runtime: { shutdown: runtimeShutdown, hasUnsettledLifecycle: () => false } as unknown as ChatChannelServiceOptions["runtime"],
|
||||
});
|
||||
services.add(service);
|
||||
return { service, wakeup, runtimeShutdown };
|
||||
|
||||
Reference in new issue
Block a user