From e87b183a8f7e3f72e44539c240fe618b3b929756 Mon Sep 17 00:00:00 2001 From: Antti Korpi Date: Tue, 23 Jan 2018 22:06:42 +0100 Subject: [PATCH] Use sinon.resetHistory; sinon.reset is deprecated --- test/atoms-cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/atoms-cache.js b/test/atoms-cache.js index 76c315e..aef76a5 100644 --- a/test/atoms-cache.js +++ b/test/atoms-cache.js @@ -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);