toBeCalledWith

Bun

Symbol

Matchers.toBeCalledWith

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

Ensure that a mock function is called with specific arguments.