Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jun 23, 2019
1 parent 24a294b commit 09a7f5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bootstrap-unexpected-markdown.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global unexpected:true, expect:true, jsdom:true, createElement:true, window:true, document:true*/
/*global unexpected:true, expect:true, jsdom:true, createElement:true*/
/* eslint no-unused-vars: "off" */

if (typeof expect === 'undefined') {
Expand All @@ -20,5 +20,6 @@ createElement = function createElement(html) {
return root.firstChild;
};

/* eslint-disable no-global-assign */
window = new jsdom.JSDOM().window;
document = window.document;
2 changes: 1 addition & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global expect, jsdom, describe, it, beforeEach, afterEach, DOMParser:true*/
/*global expect, jsdom, DOMParser:true*/
const isIe =
window.navigator &&
/Windows/.test(window.navigator.userAgent) &&
Expand Down
1 change: 0 additions & 1 deletion test/jsdom-compatibility.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global describe, it*/
const unexpected = require('unexpected');
const unexpectedDom = require('../src/index');
const jsdom = require('jsdom');
Expand Down

0 comments on commit 09a7f5c

Please sign in to comment.