toHaveBeenLastCalledWith

Bun

Symbol

Matchers.toHaveBeenLastCalledWith

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

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