Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
15
const
dir = path.resolve(__dirname,
'../randomize'
);
16
17
const
trimFirstLine = (str: string): string =>
18
str.split(
'\n'
).slice(1).join(
'\n'
);
19
20
function
runJestTwice(
21
dir: string,
Callers
1
randomize.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected