You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using Vitest I would like reporters to be publicly exported so that I can more easily create custom reporters by inheriting from one and modifying just a few attributes or methods.
import{JsonReporter}from'vitest/reporters'// Something like thismodifyReport(report){constmodifiedReport=reportreturnmodifiedReport}exportclassGradescopeReporterextendsJsonReporter{asyncwriteReport(report){super.writeReport(modifyReport(report))}}
Clear and concise description of the problem
As a developer using Vitest I would like reporters to be publicly exported so that I can more easily create custom reporters by inheriting from one and modifying just a few attributes or methods.
Suggested solution
Export all reporters publicly
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: