assertEventsCaptured<TCapture extends TrellisTestAssertionEventCapture>(capture: TCapture,expectations: readonly TrellisTestEventExpectationForCapture<TCapture>[],options?: TrellisTestAssertEventsCapturedOptions): Promise<TrellisTestEventCaptureEvent<TCapture>[]>
Waits for several captured-event expectations.
Expectations are matched unordered by default. Pass { ordered: true } to
require capture order. Returned events are always in expectation order.
TCapture extends TrellisTestAssertionEventCapture
capture: TCapture
expectations: readonly TrellisTestEventExpectationForCapture<TCapture>[]
optional
options: TrellisTestAssertEventsCapturedOptions
Promise<TrellisTestEventCaptureEvent<TCapture>[]>