Green the jsdom lane for the composer-seat ResizeObserver and new StatsLine format

The seat's height publisher needs a ResizeObserver stub in every spec that
renders ConversationRoot (jsdom has none), and the two branch-tail StatsLine
assertions move to the grouped detail-row output.
This commit is contained in:
imccyu
2026-07-30 11:09:03 +08:00
parent 04f6dfdc29
commit 60620ec36c
6 changed files with 53 additions and 7 deletions
@@ -216,6 +216,6 @@ describe('small branch tails', () => {
const view = render(
<StatsLine useSession={bindSnapshotSelector(source) as unknown as StatsLineProps['useSession']} />,
)
expect(view.getByText('10 tokens · 1 turns · 1 steps')).toBeTruthy()
expect(view.container.textContent).toBe('1 turns · 1 steps|Input 0 tok · Output 10 tok')
})
})