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": "*" "node": "*"
}, },
"devDependencies": { "devDependencies": {
"mocha": "*", "async": "^2.6.0",
"should": "*", "mocha": "^5.0.0",
"sax": "*", "sax": "^1.2.4",
"async": "*", "should": "^13.2.1",
"sinon": "*" "sinon": "^4.2.1"
}, },
"scripts": { "scripts": {
"test": "node test-runner.js", "test": "node test-runner.js",

View file

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

View file

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