We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
advanceTimers
1 parent 11d5513 commit 59c4653Copy full SHA for 59c4653
docs/user-event/options.mdx
@@ -6,6 +6,17 @@ title: Options
6
The following options allow to adjust the behavior of `user-event` APIs. They
7
can be applied per [`setup()`](setup.mdx).
8
9
+### advanceTimers
10
+
11
+If you are using fake timers, you need to advance your timers when we internally
12
+[delay](#delay) subsequent code.
13
14
+```ts
15
+(delay: number) => Promise<void> | void
16
+```
17
18
+`default`: `() => Promise.resolve()`
19
20
### applyAccept
21
22
When using [`upload()`](api-utility.mdx#upload), automatically discard files
0 commit comments