Back to Sinon

spyCall.calledImmediatelyBefore

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

22.1.0239 B
Original Source

spyCall.calledImmediatelyBefore(otherCall)

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

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