Skip to content

test(chat): fix chat-send tests broken by #4 Send/Stop swap (unblocks prod:gate) - #93

Merged
HomenShum merged 1 commit into
mainfrom
claude/brave-einstein-e177ab
Jun 29, 2026
Merged

HomenShum merged 1 commit into
mainfrom
claude/brave-einstein-e177ab

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

PR #84's #4 Send->Stop swap made the composer button conditional (longJobActive ? chat-stop : chat-send). Two send-path tests rendered with baseStore()'s queued (non-terminal) job, so the composer correctly showed Stop and chat-send was absent -> prod:gate npm test failed on main and every branch cut from it since. Clear the long job in those two tests (matching the sibling empty-CTA test) so they exercise the send path from a sendable state. 14/14 green locally.

#4 made the composer button conditional (longJobActive ? chat-stop : chat-send).
Two send-path tests (specific-model routing, /free alias) rendered with baseStore()
whose long job is queued (non-terminal), so the composer correctly showed Stop and
chat-send was absent -> prod:gate npm test failed. Clear the long job in those two
tests (the sibling empty-CTA test already does this) so they exercise the send path
from a sendable state. 14/14 green.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@vercel

vercel Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
noderoom Ready Ready Preview, Comment Jun 29, 2026 4:52am

Request Review

@HomenShum
HomenShum merged commit 45c0e6f into main Jun 29, 2026
3 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 79659bc3 Deployed Jun 29, 2026 by vercel[bot]
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