Skip to content

Avoid leaking toolbar UI from React SDK tests - #705

Merged
roncohen merged 1 commit into
mainfrom
fix/react-sdk-toolbar-test-cleanup
Aug 18, 2026
Merged

Avoid leaking toolbar UI from React SDK tests#705
roncohen merged 1 commit into
mainfrom
fix/react-sdk-toolbar-test-cleanup

Conversation

@roncohen

Copy link
Copy Markdown
Contributor

Summary

  • keep toolbar rendering disabled in React provider tests that do not exercise toolbar behavior
  • prevent the Preact toolbar from scheduling work after Vitest tears down jsdom

Context

The Package CI run for #703 intermittently failed after all React SDK assertions passed because a toolbar render ran after teardown and accessed the removed sessionStorage global. Toolbar behavior is covered by the browser SDK tests; these provider tests only verify initialization and bootstrapped rendering.

Validation

  • React SDK tests (63 passed)
  • oxlint
  • oxfmt

@roncohen
roncohen added this pull request to the merge queue Aug 18, 2026
Merged via the queue into main with commit 80051e5 Aug 18, 2026
7 checks passed
@roncohen
roncohen deleted the fix/react-sdk-toolbar-test-cleanup branch August 18, 2026 07:11
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