Testing Cheetsheet
/** * Sinon. */ const CATS = ['Sassy', 'Tom']; function sayMeow(cats) {} describe('when sayMeow is called', () => { beforeEach(() => { sayMeow(CATS); }); sinon.assert.calledWith(sayMeow, CATS); });