Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

update README with jest.useFakeTimers() gotcha #83

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ reason it was included in this package is because we need you to import render f
`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of
that library with this one somehow.

## Gotchas

If you are using jest, using `jest.useFakeTimers()` will stop several async functions like `find*` and `waitForElement` from working.

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Expand Down