We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e4958 commit 3585eefCopy full SHA for 3585eef
lighthouse-core/test/index.js
@@ -22,24 +22,6 @@ const pkg = require('../package.json');
22
const assert = require('assert');
23
24
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
39
- value: oldVersion
40
41
42
43
it('should have a main attribute defined in the package.json', function() {
44
assert.ok(pkg.main);
45
});
0 commit comments