TestAppOptions<State>
Interface: TestAppOptions<State>
Defined in: src/testing/harness.ts:91
Type Parameters
State
State = Record<string, unknown>
Properties
dormantGraceMs?
optionaldormantGraceMs?:number
Defined in: src/testing/harness.ts:103
Dormancy grace window for the drift/overlay timers (default 3000ms).
initialState?
optionalinitialState?:State
Defined in: src/testing/harness.ts:93
The initial projected state (guards read it; enables the state tap).
node?
optionalnode?:string
Defined in: src/testing/harness.ts:97
Starting page (default: the graph's first page).
onWarn?
optionalonWarn?: (message) =>void
Defined in: src/testing/harness.ts:105
Sink for the session's dev warnings (default: collected, readable via warnings()).
Parameters
message
string
Returns
void
redactedKeys?
optionalredactedKeys?:string[]
Defined in: src/testing/harness.ts:101
Keys stored redacted in the commit log.
resolvers?
optionalresolvers?:Record<string,Resolver<State>>
Defined in: src/testing/harness.ts:95
One mock handler per action, keyed by affordance id (qualified or bare/leaf).
session?
optionalsession?:InteractionSession<string>
Defined in: src/testing/harness.ts:111
Bring your own already-wired session (real registerActions / taps) for
full integration fidelity. In this mode the harness does NOT auto-mount or
inject a clock — it wraps what you built. graph/resolvers are ignored.
strict?
optionalstrict?:boolean
Defined in: src/testing/harness.ts:99
Fail the test the instant declared-effect drift appears. Default false (report-by-default).