Back to Sinon

spyCall.calledImmediatelyAfter

docs/concepts/spy-call/api/called-immediately-after.md

22.1.0236 B
Original Source

spyCall.calledImmediatelyAfter(otherCall)

Returns true, when the spy call occurred after another call, and no calls to any spy occurred in between.

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