Skip to content

Conversation

@travzhang
Copy link
Contributor

Summary

Extended coverage reporter types to support custom reporters (like @canyonjs/report-html) beyond built-in istanbul reporters. Updated both type definitions and provider implementation to handle custom reporter names while maintaining backward compatibility.

Changes:

  • Added CustomReporter and SupportedReporter types in coverage.ts
  • Updated reporters property to accept custom reporter names
  • Fixed TypeScript error in provider using type assertion (following Vitest pattern)
  • Added comprehensive documentation with usage examples

Related Links

N/A - Internal enhancement to support custom coverage reporters

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Dec 15, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 801536e
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/69401cd45897410008cc5984
😎 Deploy Preview https://deploy-preview-771--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@travzhang travzhang changed the title feat(coverage): support custom reporters like canyon-reporter feat(coverage): support custom reporters like @canyonjs/report-html Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant