mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 17:21:47 +00:00
Use sinon.resetHistory; sinon.reset is deprecated
This commit is contained in:
parent
fd09ef9848
commit
e87b183a8f
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ describe('Atoms and atom names cache', function() {
|
||||||
function(err) {
|
function(err) {
|
||||||
should.not.exist(err);
|
should.not.exist(err);
|
||||||
should.exist(my_name);
|
should.exist(my_name);
|
||||||
self.spy.reset();
|
self.spy.resetHistory();
|
||||||
self.X.InternAtom(true, my_name, function(err, atom) {
|
self.X.InternAtom(true, my_name, function(err, atom) {
|
||||||
should.not.exist(err);
|
should.not.exist(err);
|
||||||
my_atom.should.equal(atom);
|
my_atom.should.equal(atom);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue