Merge pull request #164 from anko/just-some-maintenance

Mr Janitor coming through
This commit is contained in:
Andrey Sidorov 2018-01-24 10:00:56 +11:00 committed by GitHub
commit 85905efeae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -40,11 +40,11 @@
"node": "*"
},
"devDependencies": {
"mocha": "*",
"should": "*",
"sax": "*",
"async": "*",
"sinon": "*"
"async": "^2.6.0",
"mocha": "^5.0.0",
"sax": "^1.2.4",
"should": "^13.2.1",
"sinon": "^4.2.1"
},
"scripts": {
"test": "node test-runner.js",

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);

View file

@ -11,7 +11,7 @@ describe('KillKlient request', function() {
should.not.exist(err);
display = dpy;
X = display.client;
root = display.screen[0].root;
var root = display.screen[0].root;
var eventMask = x11.eventMask.SubstructureNotify;
X.ChangeWindowAttributes(root, { eventMask: eventMask });
done();