Skip to content

Commit 233f598

Browse files
test(server): adopt main's receipt replay flag and succeedSome in citation tests
AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 21a04c0 commit 233f598

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/server/src/orchestration-v2/runtimeLayer.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7221,9 +7221,7 @@ it.layer(layerTest)("provider citation validation", (it) => {
72217221
const sessionSpy = vi
72227222
.spyOn(sessions, "get")
72237223
.mockReturnValue(
7224-
Effect.succeed(
7225-
Option.some({ providerSession } as ProviderAdapter.ProviderAdapterV2SessionRuntime),
7226-
),
7224+
Effect.succeedSome({ providerSession } as ProviderAdapter.ProviderAdapterV2SessionRuntime),
72277225
);
72287226
yield* Effect.addFinalizer(() => Effect.sync(() => sessionSpy.mockRestore()));
72297227
return { orchestrator, eventSink, threadId, active, queued };

0 commit comments

Comments
 (0)