8000 test(consumer): the browser contract requires the error code by adityamukho · Pull Request #12 · project-minigraf/minigraf-wasm · GitHub
[go: up one dir, main page]

Skip to content

test(consumer): the browser contract requires the error code - #12

Merged
adityamukho merged 1 commit into
mainfrom
ci/browser-error-code
Oct 21, 2026
Merged

adityamukho merged 1 commit into
mainfrom
ci/browser-error-code

Conversation

@adityamukho
Copy link
Copy Markdown
Contributor

The follow-up promised in #7: @minigraf/browser 2.0.9 includes minigraf#673, so the contract now requires a rejection that starts with [PRS-011] instead of accepting the message alone. Checked locally against npm 2.0.9: ok: the error carries its code ([PRS-011] Unknown command: nosuchcommand).

🤖 Generated with Claude Code

@minigraf/browser 2.0.9 rejects with the coded message (minigraf#673), so
the contract checks for [PRS-011] instead of the message alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz
@adityamukho
adityamukho merged commit af07f39 into main Oct 21, 2026
7 checks passed
@adityamukho
adityamukho deleted the ci/browser-error-code branch October 21, 2026 13: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

0