toHaveBeenCalledWith

Bun

Symbol

Matchers.toHaveBeenCalledWith

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

Ensure that a mock function is called with specific arguments.