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

Add jest fake timers gotchas to install page #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ select them or see them in debug output. These components wrap other components,
let you select them directly. If you're having trouble selecting what you need to inside of one of
these components that isn't mocked, just `debug()` to see what your users are seeing ☺️

> Using `jest.useFakeTimers()` will stop several async functions like `get*` / `find*` and `wait` /
> `waitForElement` from working.

## Exports

You will likely be able to import everything you'll need from the project entry point like this:
Expand Down