Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 7 to 318

Compare

+10 −0 in 1 place
Lines 68–80 at 318 (were 68–70 at 7)
6868 assert.deepEqual(defs({ "fixtures/a.json": codeLike, "data/b.csv": codeLike, "c.lock": codeLike }), {});
6969 assert.deepEqual(Object.keys(defs({ "src/a.ts": codeLike })), ["parsePattern"]);
7070});
72+test("definition scanning does not retain the original file line array", (t) => {
73+ const graph = new Graph();
74+ graph.add(buildBase({ "a.ts": "export function parseThing() { return 1; }\n" }, { author: "t", message: "t" }));
75+ const view = new View(graph, ["a0"]);
76+ t.mock.method(view, "lines", () => {
77+ throw Error("original file line array forbidden");
78+ });
79+ assert.deepEqual([...definitionsIn(view).keys()], ["parseThing"]);
80+});
MCP
compare on this site's /mcp
CLI
abso diff 7 318 worker/project/test/definitions.test.ts --json
JSON
/christopher/abso-core/compare/7..318?file=worker%2Fproject%2Ftest%2Fdefinitions.test.ts&format=json