AkifumiSato / esbuild-jest-transform

14 stars 9 forks source link

fix: missing coverage #15

Open kobim opened 8 months ago

kobim commented 8 months ago

Coverage couldn't be calculated with the current implementation, due to missing source maps. To check that, checkout 89a796ec3d0e860bdc3643e23059f3901eb8baab and run pnpm test:

No coverage

After applying the fix (and running pnpm run build again), you finally see coverage from both js and ts files:

With coverage

fixes https://github.com/AkifumiSato/esbuild-jest-transform/issues/14.