testing
@rogue/console-sdk/testing — the complete testing/demo surface
(SDK_PLAN.md §3.11.2). Everything here is production-shaped plumbing —
(transport impl + storage impl + clock impl + a manifest stub) and nothing
else; zero forks of SDK logic (§4.8.1). It ships in production builds for
the showroom/demo use case and costs nothing unimported
(sideEffects: false).
Mocking = swapping the transport (and/or storage) in config — never a mode flag (§3.11). Start at createTestConfig.
Interfaces
Section titled “Interfaces”Testing
Section titled “Testing”- MemoryStorage
- ScriptPhase
- SimulatedConsole
- SimulatedConsoleSpec
- SimulatedFirmwareEntry
- SimulatedTransport
- SimulatedTransportOptions
- TestConfigOptions
- TestSetup
- TransportContractWorld
- ConsoleScript
- FrameSource
- fixtures
- createMemoryStorage
- createSimulatedTransport
- createTestConfig
- describeTransportContract