Skip to content

Conversation

@wojtekmaj
Copy link
Owner

  • Make render function calls async
  • Swap render function
  • Replace fireEvent.click with userEvent.click
  • Replace fireEvent.change with userEvent.fill
  • Remove useless Vitest setup
  • Remove use of waitFor, waitForElementToBeRemoved
  • Replace userEvent.touchStart with custom solution
  • Replace userEvent.focus with custom solution
  • Replace userEvent.focusIn with custom solution
  • Replace userEvent.blur with custom solution
  • Use act() from react-dom/test-utils
  • Remove useless packages

@wojtekmaj wojtekmaj changed the title vitest browser mode attempt 2 Migrate from RTL to vitest-browser-react Oct 31, 2025
@wojtekmaj wojtekmaj merged commit 55d0764 into main Oct 31, 2025
8 checks passed
@wojtekmaj wojtekmaj deleted the vitest-browser-mode-attempt-2 branch October 31, 2025 10:47
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.

2 participants