Skip to content

TestSetup

Defined in: console-sdk/src/testing/createTestConfig.ts:51

Everything createTestConfig returns (SDK_PLAN.md §3.11.2): the config for <ConsoleProvider config={...}> plus the three handles a test drives — the hardware side, persisted state, and deterministic time.

clock: SimulatedClock

Defined in: console-sdk/src/testing/createTestConfig.ts:59

Deterministic time — only durations ever need advance (§3.11.2).


config: ConsoleConfig

Defined in: console-sdk/src/testing/createTestConfig.ts:53

Pass straight to <ConsoleProvider config={...}>.


storage: MemoryStorage

Defined in: console-sdk/src/testing/createTestConfig.ts:57

Inspect persisted state (saved devices).


transport: SimulatedTransport

Defined in: console-sdk/src/testing/createTestConfig.ts:55

Drive the hardware side (consoles, presence, faults, scripts).