toHaveBeenLastCalledWith

Bun

Symbol

MatchersBuiltin.toHaveBeenLastCalledWith

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

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