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

Method setTimeout

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

* Set the default timeout interval for tests and before/after hooks in * milliseconds. * * @remarks * The default timeout interval is 5 seconds if this method is not called.

(timeout: number)

Source from the content-addressed store, hash-verified

391 * The default timeout interval is 5 seconds if this method is not called.
392 */
393 setTimeout(timeout: number): Jest;
394 /**
395 * Creates a mock function similar to `jest.fn()` but also tracks calls to
396 * `object[methodName]`.

Calls

no outgoing calls

Tested by

no test coverage detected