Need some help on collecting coverage in workers.

I know that the coverage via V8 is not possible,
but via istanbul it does not collect coverage as well.
Getting this error
TypeError: this.toSlices is not a function or its return value is not iterable
 ❯ IstanbulCoverageProvider.reportCoverage ../../node_modules/@vitest/coverage-istanbul/dist/provider.js:214:34
 ❯ Vitest.reportCoverage ../../node_modules/vitest/dist/vendor/cli-api.RIYLcWhB.js:6537:7
 ❯ async file:/Users/ashrith/Development/react/feedback-circuit/feedback-circuit/node_modules/vitest/dist/vendor/cli-api.RIYLcWhB.js:6328:7
 ❯ Vitest.runFiles ../../node_modules/vitest/dist/vendor/cli-api.RIYLcWhB.js:6332:12
 ❯ Vitest.start ../../node_modules/vitest/dist/vendor/cli-api.RIYLcWhB.js:6223:7
 ❯ startVitest ../../node_modules/vitest/dist/vendor/cli-api.RIYLcWhB.js:13380:5
 ❯ start ../../node_modules/vitest/dist/cli.js:1386:17
 ❯ CAC.run ../../node_modules/vitest/dist/cli.js:1367:3

Any help is appreciated, thanks!
Was this page helpful?