From 89c0b1e886cad3105fc28ad53c3ddb816f83fc63 Mon Sep 17 00:00:00 2001 From: _Kerman Date: Tue, 4 Aug 2026 14:47:04 +0800 Subject: [PATCH] test(web): align turn fixtures with session events --- apps/web/tests/chat-scroll-fixture.ts | 1 - apps/web/tests/complex-history.perf.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/apps/web/tests/chat-scroll-fixture.ts b/apps/web/tests/chat-scroll-fixture.ts index e46f0c336a..501c117ca4 100644 --- a/apps/web/tests/chat-scroll-fixture.ts +++ b/apps/web/tests/chat-scroll-fixture.ts @@ -184,7 +184,6 @@ export function createChatScrollFixture(options: ChatScrollFixtureOptions): Chat for (let turn = 1; turn <= turns; turn += 1) { session.append('turn/start', { turn, - trigger: { kind: 'message', source: { kind: 'user' } }, }) const user = session.append('user/message', createUserMessage({ content: text( diff --git a/apps/web/tests/complex-history.perf.ts b/apps/web/tests/complex-history.perf.ts index f2c8c5332d..236c2df6a4 100644 --- a/apps/web/tests/complex-history.perf.ts +++ b/apps/web/tests/complex-history.perf.ts @@ -322,7 +322,6 @@ function smallSidebarFixture(): string { const session = new Session(SessionId('perf-small-template')) session.append('turn/start', { turn: 1, - trigger: { kind: 'message', source: { kind: 'user' } }, }) const user = session.append('user/message', createUserMessage({ content: text('Inspect this compact synthetic session.'), @@ -346,7 +345,6 @@ function longHistoryFixture(): string { for (let turn = 1; turn <= LONG_HISTORY_TURNS; turn += 1) { session.append('turn/start', { turn, - trigger: { kind: 'message', source: { kind: 'user' } }, }) const user = session.append('user/message', createUserMessage({ content: text(