testing/connection_closer_helpers.ts view source
(call: RecordedClose | undefined, method: "account" | "token" | "session", id: string): void Pin {method, id} on a single recorded close call without baking in
the at: N sequence number. Use at every "did the closer fire?"
assertion site; the sequence number is only meaningful for dedicated
ordering tests (paired with create_emit_ordering_audit_factory).
Throws via assert.ok if call is undefined — index a recorded
calls array directly (calls[0]) and let this helper handle the
missing-element case.
call
RecordedClose | undefinedmethod
"account" | "token" | "session"id
stringreturns
void