Skip to content

Commit

Permalink
Adding dumb test because it didn't actually add to coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pcon committed May 24, 2019
1 parent 311790e commit 610cfe6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/content.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,4 @@ test('Run extension', function () {
return content.runExtension().then(function () {
expect(document.body.innerHTML).toEqual(expectedResults);
});
});

// Honestly this test is a dumb one, but it just meets the last requirement for 100% code coverage
test('Module undefined', function () {
module = undefined; // eslint-disable-line no-global-assign

var content = require('../src/content'); // eslint-disable-line global-require, no-unused-vars

expect(module).toBe(undefined);
});

0 comments on commit 610cfe6

Please sign in to comment.