Skip to content

test(web): assert the app-icon sync in the AppRoot tree - #21

Merged
sheehanmunim merged 1 commit into
mainfrom
fix/app-root-icon-sync-test
Aug 19, 2026
Merged

test(web): assert the app-icon sync in the AppRoot tree#21
sheehanmunim merged 1 commit into
mainfrom
fix/app-root-icon-sync-test

Conversation

@sheehanmunim

Copy link
Copy Markdown
Member

Problem

src/AppRoot.test.tsx asserts the exact renderer-wide provider tree. The app icon chooser added <AppIconSync /> as a second child of AppAtomRegistryProvider (it needs the registry because the choice is a server setting), so the test failed with expected [ … ] to have a length of 1 but got 2.

Fix

The test now expects both children and follows the voice provider at index 1, with a note on why the icon sync sits there.

Verification

vp test run src/AppRoot.test.tsx — passing. Web typecheck clean.

Model: Claude Opus 5, harness: Claude Code

`AppRoot` gained an `<AppIconSync />` beside the voice provider when the app
icon chooser landed, but the structural test still expected a single child of
the atom registry.

Model: Claude Opus 5, harness: Claude Code
@sheehanmunim
sheehanmunim merged commit 858e786 into main Aug 19, 2026
3 of 7 checks passed
@sheehanmunim
sheehanmunim deleted the fix/app-root-icon-sync-test branch August 19, 2026 20:44
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant