const sinon = require('sinon'); const assert = require('assert'); describe('Example Test Suite', () => { it('should ensure functions are called in order', () => { const spy1 = sinon.spy(); const spy2 = sinon.spy(); spy1(); spy2(); assert.callOrder(spy1, spy2); }); });In this example, two sinon spies are created, `spy1` and `spy2`. The `assert.callOrder()` function is then called with both spies as arguments to ensure they were called in the correct order. Sinon is a package/library for writing tests for JavaScript code.