toolmark-monorepo / @toolmark/testing / TestToolmark
Interface: TestToolmark
Defined in: packages/testing/src/test-toolmark.ts:24
The extra surface createTestToolmark adds onto the registry object itself.
Properties
calls
calls:
RecordedCall[]
Defined in: packages/testing/src/test-toolmark.ts:26
Every settled call, in order (mixed onto the registry, never a copy).
confirms
confirms:
ConfirmRequest[]
Defined in: packages/testing/src/test-toolmark.ts:28
Every inline confirmation request the installed handler has seen, in order.
Methods
approveAll()
approveAll():
Promise<void>
Defined in: packages/testing/src/test-toolmark.ts:30
Approves every currently pending deferred confirmation.
Returns
Promise<void>