Function: createFakeClock()
function createFakeClock(opts?): FakeClock;
Defined in: packages/testing/src/clock.ts:124
@rasd/testing — the public entry point.
The surface frozen in docs/00 §11:
renderForm(def, opts?), createFakeClock(), createFaultyTransport(opts), assertAccessibleContract(Component), fixtures
plus the storage-adapter conformance suite, which the spine re-exports from
here. It lives behind @rasd/testing/conformance rather than in this file:
it is the only symbol that needs @rasd/storage at runtime, and keeping
it out of the default entry is what lets a host test its form logic with
nothing but @rasd/core installed.
Everything here works in plain Node — no DOM, no React, no bundler. The
React Testing Library variant of renderForm() described in docs/06 §18 is
a later entry point and is not part of this release.
Parameters
| Parameter | Type |
|---|---|
opts | FakeClockOptions |