testing-library / testing-library-docs

docs site for @testing-library/*
https://testing-library.com
MIT License
453 stars 709 forks source link

docs: clarify fake timer usage with user-event #1391

Closed domnantas closed 5 months ago

domnantas commented 5 months ago

fixes https://github.com/testing-library/testing-library-docs/issues/1180

The docs do not clarify how to use fake timers together with user-event. Added a section with an example how to properly set it up.

netlify[bot] commented 5 months ago

Deploy Preview for testing-library ready!

Name Link
Latest commit aded0b0cd19fc9ff5b89a69f0ea737a95b8a2ea7
Latest deploy log https://app.netlify.com/sites/testing-library/deploys/66408ca9128a4c0008f2fb3f
Deploy Preview https://deploy-preview-1391--testing-library.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

timdeschryver commented 5 months ago

@all-contributors please add @domnantas for docs

allcontributors[bot] commented 5 months ago

@timdeschryver

I've put up a pull request to add @domnantas! :tada: