@@ -12,7 +12,7 @@ for (const isolation of ['none', 'process']) {
1212 // File not found.
1313 const args = [
1414 '--test' ,
15- `--experimental- test-isolation=${ isolation } ` ,
15+ `--test-isolation=${ isolation } ` ,
1616 'a-random-file-that-does-not-exist.js' ,
1717 ] ;
1818 const child = spawnSync ( process . execPath , args ) ;
@@ -27,7 +27,7 @@ for (const isolation of ['none', 'process']) {
2727 // Default behavior. node_modules is ignored. Files that don't match the
2828 // pattern are ignored except in test/ directories.
2929 const args = [ '--test' , '--test-reporter=tap' ,
30- `--experimental- test-isolation=${ isolation } ` ] ;
30+ `--test-isolation=${ isolation } ` ] ;
3131 const child = spawnSync ( process . execPath , args , { cwd : join ( testFixtures , 'default-behavior' ) } ) ;
3232
3333 assert . strictEqual ( child . status , 1 ) ;
@@ -46,7 +46,7 @@ for (const isolation of ['none', 'process']) {
4646 {
4747 // Should match files with "-test.(c|m)js" suffix.
4848 const args = [ '--test' , '--test-reporter=tap' ,
49- `--experimental- test-isolation=${ isolation } ` ] ;
49+ `--test-isolation=${ isolation } ` ] ;
5050 const child = spawnSync ( process . execPath , args , { cwd : join ( testFixtures , 'matching-patterns' ) } ) ;
5151
5252 assert . strictEqual ( child . status , 0 ) ;
@@ -64,7 +64,7 @@ for (const isolation of ['none', 'process']) {
6464 for ( const type of [ 'strip' , 'transform' ] ) {
6565 // Should match files with "-test.(c|m)(t|j)s" suffix when typescript support is enabled
6666 const args = [ '--test' , '--test-reporter=tap' , '--no-warnings' ,
67- `--experimental-${ type } -types` , `--experimental- test-isolation=${ isolation } ` ] ;
67+ `--experimental-${ type } -types` , `--test-isolation=${ isolation } ` ] ;
6868 const child = spawnSync ( process . execPath , args , { cwd : join ( testFixtures , 'matching-patterns' ) } ) ;
6969
7070 if ( ! process . config . variables . node_use_amaro ) {
@@ -91,7 +91,7 @@ for (const isolation of ['none', 'process']) {
9191 '--require' , join ( testFixtures , 'protoMutation.js' ) ,
9292 '--test' ,
9393 '--test-reporter=tap' ,
94- `--experimental- test-isolation=${ isolation } ` ,
94+ `--test-isolation=${ isolation } ` ,
9595 ] ;
9696 const child = spawnSync ( process . execPath , args , { cwd : join ( testFixtures , 'default-behavior' ) } ) ;
9797
@@ -112,7 +112,7 @@ for (const isolation of ['none', 'process']) {
112112 const args = [
113113 '--test' ,
114114 '--test-reporter=tap' ,
115- `--experimental- test-isolation=${ isolation } ` ,
115+ `--test-isolation=${ isolation } ` ,
116116 join ( testFixtures , 'index.js' ) ,
117117 ] ;
118118 const child = spawnSync ( process . execPath , args , { cwd : testFixtures } ) ;
@@ -129,7 +129,7 @@ for (const isolation of ['none', 'process']) {
129129 const args = [
130130 '--test' ,
131131 '--test-reporter=tap' ,
132- `--experimental- test-isolation=${ isolation } ` ,
132+ `--test-isolation=${ isolation } ` ,
133133 join ( testFixtures , 'default-behavior/node_modules/*.js' ) ,
134134 ] ;
135135 const child = spawnSync ( process . execPath , args ) ;
@@ -143,7 +143,7 @@ for (const isolation of ['none', 'process']) {
143143
144144 {
145145 // The current directory is used by default.
146- const args = [ '--test' , `--experimental- test-isolation=${ isolation } ` ] ;
146+ const args = [ '--test' , `--test-isolation=${ isolation } ` ] ;
147147 const options = { cwd : join ( testFixtures , 'default-behavior' ) } ;
148148 const child = spawnSync ( process . execPath , args , options ) ;
149149
@@ -165,7 +165,7 @@ for (const isolation of ['none', 'process']) {
165165 const args = [
166166 '--test' ,
167167 '--test-reporter=tap' ,
168- `--experimental- test-isolation=${ isolation } ` ,
168+ `--test-isolation=${ isolation } ` ,
169169 'test/fixtures/test-runner/default-behavior/index.test.js' ,
170170 'test/fixtures/test-runner/nested.js' ,
171171 'test/fixtures/test-runner/invalid-tap.js' ,
0 commit comments