All files main.tsx

100% Statements 6/6
50% Branches 1/2
100% Functions 1/1
100% Lines 6/6

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        50x     50x 50x 45x   43x                
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()