MtoHaveBeenCalledWith
Bun

method

test.Matchers.toHaveBeenCalledWith

...expected: unknown[]
): void;

Ensure that a mock function is called with specific arguments.