MCPcopy
hub / github.com/vitest-dev/vitest / stabilizeReportWOTime

Function stabilizeReportWOTime

test/cli/test/reporters/junit.test.ts:128–130  ·  view source on GitHub ↗
(report: string)

Source from the content-addressed store, hash-verified

126}
127
128function stabilizeReportWOTime(report: string) {
129 return report.replaceAll(/(timestamp|hostname)=".*?"/g, '$1="..."')
130}
131
132function matchJunitTime(xml: string, regex: RegExp) {
133 const match = xml.match(regex)

Callers 1

junit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected