import "@cypress/code-coverage/support" ; import "./commands" ; import { isMobile } from "./utils" ; beforeEach ( ( ) => { cy . intercept ( { url : "http://localhost:3001/**" , middleware : true } , ( req ) => delete req . headers [ "if-none-match" ] ) ; if ( isMobile ( ) ) { cy . intercept ( { url : "http://localhost:3001/**" , middleware : true } , ( req ) => { req . on ( "response" , ( res ) => { res . setThrottle ( 1000 ) ; } ) ; } ) ; } } ) ;