Repository navigation
test(chat): fix chat-send tests broken by #4 Send/Stop swap (unblocks prod:gate) - #93
Merged
Merged
Conversation
#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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.