lastCalledWith

Bun

Symbol

MatchersBuiltin.lastCalledWith

lastCalledWith(...expected: unknown[]): void

Ensure that a mock function is called with specific arguments for the nth call.