[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix(coverage): Vite to ignore dynamic import of provider (#5998)

authored by

Ari Perkkiö and committed by
GitHub
(Jun 30, 2024, 2:58 PM +0200) 6d8848e8 910a04b6

+1
+1
packages/coverage-istanbul/src/index.ts
··· 4 4 // to not bundle the provider 5 5 const providerPath = './provider.js' 6 6 const { IstanbulCoverageProvider } = (await import( 7 + /* @vite-ignore */ 7 8 providerPath 8 9 )) as typeof import('./provider') 9 10 return new IstanbulCoverageProvider()