createSimulatedTransport
createSimulatedTransport(
options?):SimulatedTransport
Defined in: console-sdk/src/testing/simulatedTransport.ts:123
Creates a SimulatedTransport (SDK_PLAN.md §3.11.2). Tests usually
get one from createTestConfig(); call this directly to compose a custom
world (demo mode, non-default clock, discovery quirks).
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Example
Section titled “Example”const transport = createSimulatedTransport({ consoles: [{ model: 'echo-rower', serial: '400123' }],});const config = createConsoleConfig({ transport });