Back to Sinon

spyCall.calledWithExactly

docs/concepts/spy-call/api/called-with-exactly.md

22.1.0240 B
Original Source

spyCall.calledWithExactly(arg1, arg2, ...);

Returns true, when the spy call received provided arguments in exact same order and received no other arguments.

<<< ../../../.vitepress/tests/docs/spy-call/api/called-with-exactly.test.js