toHaveBeenNthCalledWith

Bun

Symbol

Matchers.toHaveBeenNthCalledWith

toHaveBeenNthCalledWith(n: number, ...expected: unknown[]): void

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