MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / breaks

Function breaks

__tests__/pascal-conditional-blocks.test.ts:354–354  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

352 const out = preParsePascal(crlf);
353 expect(out.length).toBe(crlf.length);
354 const breaks = (s: string) => [...s.matchAll(/\r\n/g)].map((m) => m.index);
355 expect(breaks(out)).toEqual(breaks(crlf));
356 }
357 });

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected