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

Function extractSortedSummary

e2e/Utils.ts:302–308  ·  view source on GitHub ↗
(stdout: string)

Source from the content-addressed store, hash-verified

300 .trim();
301
302export const extractSortedSummary = (stdout: string) => {
303 const {rest, summary} = extractSummary(stdout);
304 return {
305 rest: sortTests(replaceTime(rest)),
306 summary,
307 };
308};
309
310export const extractSummaries = (
311 stdout: string,

Callers 6

verbose.test.tsFile · 0.90
testIn2WorkersFunction · 0.90
extractSummariesFunction · 0.85

Calls 3

extractSummaryFunction · 0.85
sortTestsFunction · 0.85
replaceTimeFunction · 0.85

Tested by 1

testIn2WorkersFunction · 0.72