test(server): fix startup heartbeat counts mock typing
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
03d24d6110
commit
711a3e0163
1 file changed
+7
-1
@@ -61,7 +61,13 @@ it.effect("launchStartupHeartbeat does not block the caller while counts are loa
|
||||
yield* launchStartupHeartbeat.pipe(
|
||||
Effect.provideService(ProjectionSnapshotQuery, {
|
||||
getSnapshot: () => Effect.die("unused"),
|
||||
getCounts: () => Deferred.await(releaseCounts),
|
||||
getCounts: () =>
|
||||
Deferred.await(releaseCounts).pipe(
|
||||
Effect.as({
|
||||
projectCount: 2,
|
||||
threadCount: 3,
|
||||
}),
|
||||
),
|
||||
getActiveProjectByWorkspaceRoot: () => Effect.succeed(Option.none()),
|
||||
getFirstActiveThreadIdByProjectId: () => Effect.succeed(Option.none()),
|
||||
getThreadCheckpointContext: () => Effect.succeed(Option.none()),
|
||||
|
||||
Reference in new issue
Block a user