assertCapturedEventContext<TEvent extends TrellisTestAssertionCapturedEvent>(event: TEvent,expected?: TrellisTestCapturedEventContextExpectation): TEvent
Validates standard Trellis captured-event context metadata and returns the event.
The helper requires a string context id, Date context time, ephemeral mode
by default, and a Date receivedAt value.
TEvent extends TrellisTestAssertionCapturedEvent
event: TEvent
optional
expected: TrellisTestCapturedEventContextExpectation