Skip to content

Commit 3585eef

Browse files
committed
Removes unused test
1 parent 07e4958 commit 3585eef

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

lighthouse-core/test/index.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,6 @@ const pkg = require('../package.json');
2222
const assert = require('assert');
2323

2424
describe('Module Tests', function() {
25-
it('throws if node < 5 is used', () => {
26-
const oldVersion = process.version;
27-
28-
// Override to an old version of Node.
29-
Object.defineProperty(process, 'version', {
30-
value: 'v0.1.0'
31-
});
32-
33-
assert.throws(_ => {
34-
require('../..');
35-
});
36-
37-
// Reset to the current version.
38-
Object.defineProperty(process, 'version', {
39-
value: oldVersion
40-
});
41-
});
42-
4325
it('should have a main attribute defined in the package.json', function() {
4426
assert.ok(pkg.main);
4527
});

0 commit comments

Comments
 (0)