MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / entry

Function entry

__tests__/utils/git-diff-stats.test.ts:93–93  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

91 it("counts an entry added at the top of a large lockfile-like file", () => {
92 // Arrange
93 const entry = (i: number) => [` "pkg-${i}": {`, ' "dev": true', " },"];
94 const entries = Array.from({ length: 5000 }, (_, i) => entry(i)).flat();
95 const original = ["{", ...entries, "}"].join("\n");
96 const modified = ["{", ...entry(-1), ...entries, "}"].join("\n");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected