OptionalclockClock used for timestamps. Default: Date.now.
OptionalexceptExclude these domains.
OptionallatencyArtificial latency (ms) applied before each result. Default 0, which
responds synchronously inside handleMessage.
OptionalonlyRestrict to these domains (default: every domain with a factory).
OptionaloverridesPer-domain option overrides merged over the shared options.
OptionalschedulerScheduler used for deferred pushes. Default: setTimeout.
OptionalseedSeed for deterministic ids and fixture ordering. Default 1.
OptionalstoreShared event store; a fresh seeded store is created when omitted.
OptionaluserShell user for the social mocks (fixture name or hex; '' = signed out). Default alice.
Options for
createMockNapEnvironment.Example