1
- // Flags: --expose-internals --experimental-test-snapshots
1
+ // Flags: --expose-internals
2
2
/* eslint-disable no-template-curly-in-string */
3
3
'use strict' ;
4
4
const common = require ( '../common' ) ;
@@ -299,7 +299,7 @@ test('t.assert.snapshot()', async (t) => {
299
299
await t . test ( 'fails prior to snapshot generation' , async ( t ) => {
300
300
const child = await common . spawnPromisified (
301
301
process . execPath ,
302
- [ '--experimental-test-snapshots' , fixture ] ,
302
+ [ fixture ] ,
303
303
{ cwd : tmpdir . path } ,
304
304
) ;
305
305
@@ -314,7 +314,7 @@ test('t.assert.snapshot()', async (t) => {
314
314
await t . test ( 'passes when regenerating snapshots' , async ( t ) => {
315
315
const child = await common . spawnPromisified (
316
316
process . execPath ,
317
- [ '--test-update-snapshots' , '--experimental-test-snapshots' , fixture ] ,
317
+ [ '--test-update-snapshots' , fixture ] ,
318
318
{ cwd : tmpdir . path } ,
319
319
) ;
320
320
@@ -328,7 +328,7 @@ test('t.assert.snapshot()', async (t) => {
328
328
await t . test ( 'passes when snapshots exist' , async ( t ) => {
329
329
const child = await common . spawnPromisified (
330
330
process . execPath ,
331
- [ '--experimental-test-snapshots' , fixture ] ,
331
+ [ fixture ] ,
332
332
{ cwd : tmpdir . path } ,
333
333
) ;
334
334
@@ -350,7 +350,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
350
350
const args = [
351
351
'--test' ,
352
352
'--experimental-test-isolation=none' ,
353
- '--experimental-test-snapshots' ,
354
353
fixture ,
355
354
fixture2 ,
356
355
] ;
@@ -372,7 +371,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
372
371
const args = [
373
372
'--test' ,
374
373
'--experimental-test-isolation=none' ,
375
- '--experimental-test-snapshots' ,
376
374
'--test-update-snapshots' ,
377
375
fixture ,
378
376
fixture2 ,
@@ -394,7 +392,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
394
392
const args = [
395
393
'--test' ,
396
394
'--experimental-test-isolation=none' ,
397
- '--experimental-test-snapshots' ,
398
395
fixture ,
399
396
fixture2 ,
400
397
] ;
0 commit comments