File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module.exports = async process => {
13
13
// checks as early as possible so the user gets the error message.
14
14
const semver = require ( 'semver' )
15
15
const supported = require ( '../package.json' ) . engines . node
16
- const knownBroken = '<6.2.0 || 9 <9.3 .0'
16
+ const knownBroken = '<12.5 .0'
17
17
18
18
const nodejsVersion = process . version . replace ( / - .* $ / , '' )
19
19
/* eslint-disable no-console */
Original file line number Diff line number Diff line change @@ -196,12 +196,12 @@ t.test('unsupported node version', async t => {
196
196
const { cli } = await cliMock ( t , {
197
197
globals : {
198
198
'console.error' : ( msg ) => errors . push ( msg ) ,
199
- 'process.version' : '10.0 .0' ,
199
+ 'process.version' : '12.6 .0' ,
200
200
} ,
201
201
} )
202
202
await cli ( process )
203
203
t . match ( errors , [
204
- 'npm does not support Node.js 10.0 .0' ,
204
+ 'npm does not support Node.js 12.6 .0' ,
205
205
'You should probably upgrade to a newer version of node as we' ,
206
206
'can\'t make any promises that npm will work with this version.' ,
207
207
] )
You can’t perform that action at this time.
0 commit comments