import 'core-js' ; import 'regenerator-runtime/runtime' ; import assert from 'node:assert' ; console . assert = assert ; window . fetch = ( input ) => { const error = `You must mock fetch: '${ input . toString ( ) }'` ; console . error ( error ) ; throw new Error ( error ) ; } ; XMLHttpRequest . prototype . open = ( _method , url ) => { const error = `You must mock XMLHttpRequest: '${ url }'` ; console . error ( error ) ; throw new Error ( error ) ; } ;