nthCalledWith

Bun

Symbol

Matchers.nthCalledWith

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

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