testing/connection_closer_helpers.ts view source
(call: RecordedClose | undefined, expected: RecordedClose): void import {assert_close_call} from '@fuzdev/fuz_app/testing/connection_closer_helpers.js'; Pin a single recorded close call to expected (deep equality).
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 | undefinedexpected
returns
void