Skip to content

test: isolate Session composer locale state - #30

Merged
pppolf merged 1 commit into
mainfrom
agent/stabilize-session-composer-tests
Aug 12, 2026
Merged

pppolf merged 1 commit into
mainfrom
agent/stabilize-session-composer-tests

Conversation

@pppolf

@pppolf pppolf commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • move locale and storage reset setup to the file-level test scope
  • make SessionSteeringQueue tests independent from the earlier SessionComposer suite
  • preserve the existing storage-persistence assertions

Why

The queue suite renders through LocaleProvider and asserts English labels, but its locale was only initialized by a sibling describe block. The full file passed in declaration order while focused queue runs, shuffled execution, or future suite refactors could default to Chinese and fail for reasons unrelated to queue behavior.

Validation

  • Node.js 24.19.0
  • npm ci (0 vulnerabilities)
  • isolated queue suite: 4 passed, 8 skipped
  • complete component file: 12/12 passed
  • npm test (57 files, 218 tests)
  • npm run typecheck
  • git diff --check

The existing jsdom canvas warnings remain informational and unchanged.

@pppolf
pppolf marked this pull request as ready for review August 12, 2026 15:23
@pppolf
pppolf merged commit bb2e176 into main Aug 12, 2026
4 checks passed
@NanaseInori
NanaseInori deleted the agent/stabilize-session-composer-tests branch September 16, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant