Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements committed Jan 20, 2018
1 parent 95decf6 commit 14047d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/browser-specific/html-reporter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ describe('HTML reporter', function () {
removeMochaElem();
var suite = new Suite('Suite', 'root');
var runner = new Runner(suite);
// eslint-disable-next-line no-unused-vars
var html = new HTML(runner);
// eslint-disable-next-line no-new
new HTML(runner);
var message = document.getElementById('mocha-error').textContent;
expect(message).to.eql('#mocha div missing, add it to your document');
});
Expand All @@ -44,8 +44,8 @@ describe('HTML reporter', function () {
addMochaElem();
var suite = new Suite('Suite', 'root');
var runner = new Runner(suite);
// eslint-disable-next-line no-unused-vars
var html = new HTML(runner);
// eslint-disable-next-line no-new
new HTML(runner);
expect(document.getElementById('mocha-stats')).to.not.eql(null);
expect(document.getElementById('mocha-report')).to.not.eql(null);
});
Expand Down

0 comments on commit 14047d9

Please sign in to comment.