Skip to content

fix: update broken tests#169

Open
jrvb-rl wants to merge 2 commits intomainfrom
jrvb/fix-tests
Open

fix: update broken tests#169
jrvb-rl wants to merge 2 commits intomainfrom
jrvb/fix-tests

Conversation

@jrvb-rl
Copy link
Contributor

@jrvb-rl jrvb-rl commented Mar 11, 2026

This PR contains a few test fixes:

  • fix: UpdateNotification test properly mocks fetch per-test

    The test was failing because global.fetch was assigned once at module
    level but restoreMocks:true cleared its implementation between tests.
    Save/restore fetch in beforeEach/afterEach and use a reliable wait
    for async state updates.

  • vibe-fixes for a few tests which look like they started failing after some SDK format changes?

jrvb-rl added 2 commits March 11, 2026 04:22
The test was failing because global.fetch was assigned once at module
level but restoreMocks:true cleared its implementation between tests.
Save/restore fetch in beforeEach/afterEach and use a reliable wait
for async state updates.
@jrvb-rl jrvb-rl requested a review from dines-rl March 11, 2026 11:26
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