describe ( 'error output suppression (no process.env) tests' , ( ) => { const originalConsoleError = console . error ; process . env = { ... process . env , get RHTL_DISABLE_ERROR_FILTERING ( ) : string | undefined { throw new Error ( 'expected' ) ; } } ; runForRenderers ( [ 'default' , 'dom' , 'native' , 'server' ] , ( ) => { test ( 'should patch console.error' , ( ) => { expect ( console . error ) . not . toBe ( originalConsoleError ) ; } ) ; } ) ; } ) ; export { } ;