MCPcopy Index your code
hub / github.com/banga/git-split-diffs / wrapAndJoin

Function wrapAndJoin

src/wrapSpannedStringByWord.test.ts:52–54  ·  view source on GitHub ↗
(text: string, width: number)

Source from the content-addressed store, hash-verified

50
51test('snapshot tests', () => {
52 function wrapAndJoin(text: string, width: number): string {
53 return wrapString(text, width).join('\n');
54 }
55
56 expect(
57 wrapAndJoin(

Callers 1

Calls 1

wrapStringFunction · 0.85

Tested by

no test coverage detected