Repository navigation
test(brochure): stub setItem in the malformed-registry test's storage - #4767
Conversation
helix-white
left a comment
There was a problem hiding this comment.
Approved. Adding setItem to the test's storage stub lets the production service save a successfully loaded custom registry before emitting it. The malformed-URL and subsequent-selection assertions remain intact; production behavior is unchanged.
Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).
Verification: The author reports npm run check:rpc-clients passing 107/107. I traced the test through the real service and confirmed a clean merge with origin/master; I ran no tests as reviewer. Prettier and Conflict Markers passed. CI tests, generated-artifact checks, and binary builds remain in progress.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Closes #4766.
Brochure reports malformed registry URLs and can load the next selectionfailed on master. Once a non-default registry loads,MarketplaceService.currentRegistry$saves it to the custom-registry slot in local storage (added in #4724). The test's storage stub had onlygetItem, sosetItemthrewTypeErrorinside thetap, the stream errored before emitting, andregistries.lengthstayed0. The service is correct; the stub now has a no-opsetItem.With this change
npm run check:rpc-clientspasses (107/107), so the rest of thenpm run checkchain runs again.🤖 Generated with Claude Code