Skip to content

test: stub matchmedia in profile app fixtures - #438

Closed
kalvinnchau wants to merge 1 commit into
mainfrom
am/profile-match-media-fixture
Closed

kalvinnchau wants to merge 1 commit into
mainfrom
am/profile-match-media-fixture

Conversation

@kalvinnchau

Copy link
Copy Markdown
Contributor

Summary

  • Stub jsdom matchMedia for the profile app fixtures, matching the existing navigation test setup.
  • Restore the global through the existing test teardown.

Verification

  • bin/pnpm exec vitest run src/app/App.profile.test.tsx (4 passed; the same four fail before the fixture fix)
  • bin/pnpm typecheck
  • bin/pnpm exec biome check src/app/App.profile.test.tsx
  • Pre-commit and pre-push hooks (5 related tests passed; design guards passed)

Opened from the Buzz native read-state channel as a separate baseline test repair.

Signed-off-by: am <6e30cd56c30e030cd31bb0939b94a7c257c9a09d5ba2d92cf2735da45629f248@buzz.block.builderlab.xyz>
@kalvinnchau

Copy link
Copy Markdown
Contributor Author

🤖 Superseded by #437, which fixes the same main-branch profile fixture failure. Closing this redundant test-only PR.

@kalvinnchau
kalvinnchau deleted the am/profile-match-media-fixture branch September 30, 2026 01:02
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