MCPcopy
hub / github.com/jestjs/jest / now

Method now

packages/jest-environment/src/index.ts:234–234  ·  view source on GitHub ↗

* Returns the current time in ms of the fake timer clock.

()

Source from the content-addressed store, hash-verified

232 * Returns the current time in ms of the fake timer clock.
233 */
234 now(): number;
235 /**
236 * Registers a callback function that is invoked whenever a mock is generated for a module.
237 * This callback is passed the module path and the newly created mock object, and must return

Callers 15

eventHandlerFunction · 0.65
getTestDurationFunction · 0.65
jestAdapterFunction · 0.65
createAggregatedResultsFunction · 0.65
nowMethod · 0.65
getRealSystemTimeMethod · 0.65
nowMethod · 0.65
testWorkerFarmFunction · 0.65
countToFinishFunction · 0.65

Calls

no outgoing calls

Tested by 4

markerFunction · 0.52
markerFunction · 0.52
markerFunction · 0.52
markerFunction · 0.52