Skip to content

Commit 362c6ed

Browse files
committed
updating doc title
1 parent e21c9ca commit 362c6ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TimerMocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ it('calls the callback after 1 second via advanceTimersByTime', () => {
167167

168168
Lastly, it may occasionally be useful in some tests to be able to clear all of the pending timers. For this, we have `jest.clearAllTimers()`.
169169

170-
## Advance Timers by Frame
170+
## Advance Timers to next Frame
171171

172172
In applications, often you want to schedule work inside of an animation frame (via `requestAnimationFrame`). We expose a convenance method `jest.runToFrame()` to advance all timers enough milliseconds to execute all actively scheduled animation frames.
173173

0 commit comments

Comments
 (0)