Back to Sinon

spyCall.calledWith

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

22.1.0225 B
Original Source

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

Returns true, when the spy call received provided arguments in same positions, (and possibly further arguments).

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