diff --git a/test-tap/integration/assorted.js b/test-tap/integration/assorted.js index 762cd02f4..53dd2630a 100644 --- a/test-tap/integration/assorted.js +++ b/test-tap/integration/assorted.js @@ -166,7 +166,7 @@ test('selects .cjs test files', t => { test('load .mjs test files (when node supports it)', t => { execCli('mjs.mjs', (err, stdout) => { - if (Number.parseFloat(process.version.slice(1)) >= 13) { + if (Number.parseFloat(process.version.slice(1)) >= 12.17) { t.ifError(err); t.match(stdout, /1 test passed/); t.end(); @@ -180,7 +180,7 @@ test('load .mjs test files (when node supports it)', t => { test('load .js test files as ESM modules (when node supports it)', t => { execCli('test.js', {dirname: 'fixture/pkg-type-module'}, (err, stdout) => { - if (Number.parseFloat(process.version.slice(1)) >= 13) { + if (Number.parseFloat(process.version.slice(1)) >= 12.17) { t.ifError(err); t.match(stdout, /1 test passed/); t.end();