MCPcopy
hub / github.com/jestjs/jest / replaceTime

Function replaceTime

e2e/Utils.ts:199–202  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

197 str.replaceAll(/Seed: {8}(-?\d+)/g, 'Seed: <<REPLACED>>');
198
199const replaceTime = (str: string) =>
200 str
201 .replaceAll(/\d*\.?\d+ m?s\b/g, '<<REPLACED>>')
202 .replaceAll(', estimated <<REPLACED>>', '');
203
204export const replaceNodeInfo = (str: string) =>
205 str

Callers 2

extractSummaryFunction · 0.85
extractSortedSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected