@@ -15,7 +15,7 @@ const {
1515    ERR_INVALID_STATE , 
1616  } , 
1717}  =  require ( 'internal/errors' ) ; 
18- const  {  emitExperimentalWarning ,   kEmptyObject }  =  require ( 'internal/util' ) ; 
18+ const  {  kEmptyObject }  =  require ( 'internal/util' ) ; 
1919let  debug  =  require ( 'internal/util/debuglog' ) . debuglog ( 'test_runner' ,  ( fn )  =>  { 
2020  debug  =  fn ; 
2121} ) ; 
@@ -28,7 +28,6 @@ const { strictEqual } = require('assert');
2828const  {  mkdirSync,  readFileSync,  writeFileSync }  =  require ( 'fs' ) ; 
2929const  {  dirname }  =  require ( 'path' ) ; 
3030const  {  createContext,  runInContext }  =  require ( 'vm' ) ; 
31- const  kExperimentalWarning  =  'Snapshot testing' ; 
3231const  kMissingSnapshotTip  =  'Missing snapshots can be generated by rerunning '  + 
3332  'the command with the --test-update-snapshots flag.' ; 
3433const  defaultSerializers  =  [ 
@@ -47,13 +46,11 @@ let resolveSnapshotPathFn = defaultResolveSnapshotPath;
4746let  serializerFns  =  defaultSerializers ; 
4847
4948function  setResolveSnapshotPath ( fn )  { 
50-   emitExperimentalWarning ( kExperimentalWarning ) ; 
5149  validateFunction ( fn ,  'fn' ) ; 
5250  resolveSnapshotPathFn  =  fn ; 
5351} 
5452
5553function  setDefaultSnapshotSerializers ( serializers )  { 
56-   emitExperimentalWarning ( kExperimentalWarning ) ; 
5754  validateFunctionArray ( serializers ,  'serializers' ) ; 
5855  serializerFns  =  ArrayPrototypeSlice ( serializers ) ; 
5956} 
@@ -207,7 +204,6 @@ class SnapshotManager {
207204    const  manager  =  this ; 
208205
209206    return  function  snapshotAssertion ( actual ,  options  =  kEmptyObject )  { 
210-       emitExperimentalWarning ( kExperimentalWarning ) ; 
211207      validateObject ( options ,  'options' ) ; 
212208      const  { 
213209        serializers =  serializerFns , 
0 commit comments