All files main.tsx

54.54% Statements 6/11
25% Branches 1/4
50% Functions 1/2
75% Lines 6/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20        45x     45x 45x 40x   40x                
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './index.css'
 
async function bootstrap() {
  if (import.meta.env.DEV) {
 E   const { worker } = await import('./msw/browser')
    await worker.start({ onUnhandledRequest: 'bypass' })
  }
 
  createRoot(document.getElementById('root')!).render(
    <StrictMode>
      <App />
    </StrictMode>,
  )
}
 
bootstrap()