File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ test('selects .cjs test files', t => {
166
166
167
167
test ( 'load .mjs test files (when node supports it)' , t => {
168
168
execCli ( 'mjs.mjs' , ( err , stdout ) => {
169
- if ( Number . parseFloat ( process . version . slice ( 1 ) ) >= 13 ) {
169
+ if ( Number . parseFloat ( process . version . slice ( 1 ) ) >= 12.17 ) {
170
170
t . ifError ( err ) ;
171
171
t . match ( stdout , / 1 t e s t p a s s e d / ) ;
172
172
t . end ( ) ;
@@ -180,7 +180,7 @@ test('load .mjs test files (when node supports it)', t => {
180
180
181
181
test ( 'load .js test files as ESM modules (when node supports it)' , t => {
182
182
execCli ( 'test.js' , { dirname : 'fixture/pkg-type-module' } , ( err , stdout ) => {
183
- if ( Number . parseFloat ( process . version . slice ( 1 ) ) >= 13 ) {
183
+ if ( Number . parseFloat ( process . version . slice ( 1 ) ) >= 12.17 ) {
184
184
t . ifError ( err ) ;
185
185
t . match ( stdout , / 1 t e s t p a s s e d / ) ;
186
186
t . end ( ) ;
You can’t perform that action at this time.
0 commit comments