test_runner: mark snapshot testing as stable · nodejs/node@8ff082c
1-// Flags: --expose-internals --experimental-test-snapshots
1+// Flags: --expose-internals
22/* eslint-disable no-template-curly-in-string */
33'use strict';
44const common = require('../common');
@@ -299,7 +299,7 @@ test('t.assert.snapshot()', async (t) => {
299299await t.test('fails prior to snapshot generation', async (t) => {
300300const child = await common.spawnPromisified(
301301process.execPath,
302-['--experimental-test-snapshots', fixture],
302+[fixture],
303303{ cwd: tmpdir.path },
304304);
305305@@ -314,7 +314,7 @@ test('t.assert.snapshot()', async (t) => {
314314await t.test('passes when regenerating snapshots', async (t) => {
315315const child = await common.spawnPromisified(
316316process.execPath,
317-['--test-update-snapshots', '--experimental-test-snapshots', fixture],
317+['--test-update-snapshots', fixture],
318318{ cwd: tmpdir.path },
319319);
320320@@ -328,7 +328,7 @@ test('t.assert.snapshot()', async (t) => {
328328await t.test('passes when snapshots exist', async (t) => {
329329const child = await common.spawnPromisified(
330330process.execPath,
331-['--experimental-test-snapshots', fixture],
331+[fixture],
332332{ cwd: tmpdir.path },
333333);
334334@@ -350,7 +350,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
350350const args = [
351351'--test',
352352'--experimental-test-isolation=none',
353-'--experimental-test-snapshots',
354353fixture,
355354fixture2,
356355];
@@ -372,7 +371,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
372371const args = [
373372'--test',
374373'--experimental-test-isolation=none',
375-'--experimental-test-snapshots',
376374'--test-update-snapshots',
377375fixture,
378376fixture2,
@@ -394,7 +392,6 @@ test('snapshots from multiple files (isolation=none)', async (t) => {
394392const args = [
395393'--test',
396394'--experimental-test-isolation=none',
397-'--experimental-test-snapshots',
398395fixture,
399396fixture2,
400397];