Skip to content

test(tui): update descendant form expectation - #49246

Merged
kitlangton merged 1 commit into
v2from
fix-form-expectation
Sep 16, 2026
Merged

kitlangton merged 1 commit into
v2from
fix-form-expectation

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Why

The mini transport test fails on Linux and Windows after descendant form reads moved under the Session API. The fixture correctly mocks session.form.list, but its final assertion still checks the obsolete top-level form.list method.

What Changes

Update the assertion to match the production call and fixture contract: session.form.list({ sessionID }, { signal }).

Scope

Test-only correction. Runtime behavior is unchanged.

Verification

cd packages/tui
bun run test test/mini/stream-v2.transport.test.ts --test-name-pattern "replaces the client for buffered hydration"
bun typecheck

cd ../..
bun run check
  • Focused test passed three consecutive runs.
  • Repository lint and typecheck passed.

@kitlangton
kitlangton merged commit 370b9d4 into v2 Sep 16, 2026
12 of 13 checks passed
@kitlangton
kitlangton deleted the fix-form-expectation branch September 16, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant