Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
test(
'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
wrapSpannedStringByWord.test.ts
File · 0.85
Calls
1
wrapString
Function · 0.85
Tested by
no test coverage detected