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

Function trimFirstLine

e2e/__tests__/randomize.test.ts:17–18  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

15const dir = path.resolve(__dirname, '../randomize');
16
17const trimFirstLine = (str: string): string =>
18 str.split('\n').slice(1).join('\n');
19
20function runJestTwice(
21 dir: string,

Callers 1

randomize.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected