Use sinon.resetHistory; sinon.reset is deprecated

This commit is contained in:
Antti Korpi 2018-01-23 22:06:42 +01:00
parent fd09ef9848
commit e87b183a8f

View file

@ -94,7 +94,7 @@ describe('Atoms and atom names cache', function() {
function(err) {
should.not.exist(err);
should.exist(my_name);
self.spy.reset();
self.spy.resetHistory();
self.X.InternAtom(true, my_name, function(err, atom) {
should.not.exist(err);
my_atom.should.equal(atom);