Skip to content

0.7.0 / 2015-07-24

Choose a tag to compare

@keithamus keithamus released this 24 Jul 22:18

Added .spy.reset() method, to reset call counters back to 0

var spy = chai.spy('foo');
spy();
spy.should.have.been.called();
spy.reset();
spy.should.not.have.been.called();

Community Contributions

Code Features & Fixes