Skip to content

Commit

Permalink
Clarifies date.now() in milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Gina Beth Russell authored and Gina Beth Russell committed Dec 9, 2023
1 parent e54c0eb commit dc17ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/JestObjectAPI.md
Expand Up @@ -839,7 +839,7 @@ type FakeTimersConfig = {
* The default is `false`.
*/
legacyFakeTimers?: boolean;
/** Sets current system time to be used by fake timers. The default is `Date.now()`. */
/** Sets current system time to be used by fake timers. The default is `Date.now()` in milliseconds. */
now?: number | Date;
/**
* The maximum number of recursive timers that will be run when calling `jest.runAllTimers()`.
Expand Down

0 comments on commit dc17ff7

Please sign in to comment.