Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 161 Bytes

sinon-assert-spy-order.md

File metadata and controls

10 lines (7 loc) · 161 Bytes

Asserting spy call order in sinon

const spy1 = sinon.spy();
const spy2 = sinon.spy();

// invoke your code

sinon.assert.callOrder(spy1, spy2, ...)