test: consolidate JavaScript and provider fixture coverage

This commit is contained in:
morluto committed 2026-11-10 16:32:53 -05:00
1 parent 439c197c3f
commit 3c4be703cd
16 files changed
+23 -223

No files matched your search

-26
View File
@@ -491,32 +491,6 @@ describe("historical source graph validation", () => {
],
}),
).toThrow(/normalized and inventoried/u);
expect(() =>
createHistoricalSourceGraph({
...graphInput(),
inventory_state: "partial",
entries: graphInput().entries.map((entry) =>
entry.kind === "symlink"
? { ...entry, target: "/etc/passwd", target_state: "external" }
: entry,
),
}),
).not.toThrow();
expect(() =>
createHistoricalSourceGraph({
...graphInput(),
inventory_state: "partial",
entries: graphInput().entries.map((entry) =>
entry.kind === "symlink"
? {
...entry,
target: "<outside-root>",
target_state: "external",
}
: entry,
),
}),
).toThrow(/target path does not match/u);
expect(() =>
createHistoricalSourceGraph({
...graphInput(),