CenFun

Results 91 comments of CenFun

> Question, how do you represent the empty coverage in Istanbul format? When running `--all`, in fact, it's adding empty coverage for untested files. - 1, Adding an empty entry...

@bcoe Yes, agree. Checking the coverage of untested files is truly a challenge, especially for checking `functions` and `branches`. For example `--branches=80` it requires to know: - 1, the total...

@jakebailey thank you for providing the test case. I was able to fix few more issues in version [2.5.5](https://www.npmjs.com/package/monocart-coverage-reports/v/2.5.5) - fixed UI performance issue. There is a file `checker.ts` is...

@bcoe good suggestion, thanks. I've already updated it, please review it.

@bcoe I'm not very good at writing documents, please feel free to modify it, thank you.

@bcoe it‘s done, please review.

@bcoe It seems that there are some legacy files on your local, possibly generated from a previous running but not test. The ci is passed. can you try removing the...

The issue you're encountering seems to be related to [v8-to-istanbul](https://github.com/istanbuljs/v8-to-istanbul/). - sometimes the sourcemap does not work as expected, which prevents an accurate match to the position in the source...

@bcoe Thanks for the feedback. Actually, this case also has issues might caused by the sourcemap. ![image](https://github.com/bcoe/c8/assets/334577/254b47b8-b915-4871-a76f-d6dd400cfe3c) From the earlier code, we know that 'queue' should be '[]', therefore, I...

@Visible-Radio Here is a example for generating Remix coverage with Playwright but it's using V8 not Istanbul. https://github.com/cenfun/remix-with-playwright