toBeCalledWith

Bun

Symbol

MatchersBuiltin.toBeCalledWith

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

Ensure that a mock function is called with specific arguments.