test(javascript): reuse comparison node fixtures

Use the established typed graph fixture constructor while retaining right-hand comparison provenance assertions. Restore the unchanged duplicate-code gate on combined main.

Closes #1446. Refs #1434, #1443, #1065.
This commit is contained in:
Ysopwnable
2026-10-10 14:02:02 +08:00
committed by GitHub
parent 817efaca9a
commit 66863b609f
2 changed files with 13 additions and 17 deletions
@@ -109,7 +109,7 @@ type FixtureNodeArguments = [
evidence: ApplicationGraphEvidence,
];
const fixtureNode = (
export const fixtureNode = (
...[kind, identity, label, properties, evidence]: FixtureNodeArguments
): FixtureNode =>
createJavaScriptApplicationNode({