Skip to content

Commit

Permalink
Removes unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
paullewis committed Jul 11, 2016
1 parent 07e4958 commit 3585eef
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lighthouse-core/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,6 @@ const pkg = require('../package.json');
const assert = require('assert');

describe('Module Tests', function() {
it('throws if node < 5 is used', () => {
const oldVersion = process.version;

// Override to an old version of Node.
Object.defineProperty(process, 'version', {
value: 'v0.1.0'
});

assert.throws(_ => {
require('../..');
});

// Reset to the current version.
Object.defineProperty(process, 'version', {
value: oldVersion
});
});

it('should have a main attribute defined in the package.json', function() {
assert.ok(pkg.main);
});
Expand Down

0 comments on commit 3585eef

Please sign in to comment.