base-ui
base-ui copied to clipboard
[test] Use vitest's `userEvent` implementation in browser tests
Vitest docs don't recommend using React Testing Library's userEvent in browser tests (see the warning box in https://vitest.dev/guide/browser/#examples).
This PR changes the imported library depending on the environment in which the tests run.
Deploy Preview for base-ui ready!
| Name | Link |
|---|---|
| Latest commit | 22d74a25f37495821ebc9433fa5291e5d17e7269 |
| Latest deploy log | https://app.netlify.com/sites/base-ui/deploys/677f8c04f15e560008bce556 |
| Deploy Preview | https://deploy-preview-1314--base-ui.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.