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

Function extractLogs

test/cli/test/concurrent.test.ts:1078–1081  ·  view source on GitHub ↗
(log: string)

Source from the content-addressed store, hash-verified

1076})
1077
1078function extractLogs(log: string) {
1079 const result = log.split('\n').filter(line => line.match(/^![<>]/)).join('\n')
1080 return `\n${result.trim()}\n`
1081}
1082
1083test('sibling task sequential lifecycle guarantee', async () => {
1084 const result = await runInlineTests({

Callers 1

concurrent.test.tsFile · 0.70

Calls 2

filterMethod · 0.65
matchMethod · 0.45

Tested by

no test coverage detected