test.rules/shared/strings/graph.strings.test.ts

test.rules/shared/strings/graph.strings.test.ts is a file in Codebase Testing. 9 lines of code and 0 definitions.

import { describe, expect, it } from "vitest";
import { malformedClosureGraph } from "@ssot/govlab/shared/strings/graph.strings.ts";

describe("malformedClosureGraph", () => {
    it("names the graph file and the fields it has to carry", () => {
        expect(malformedClosureGraph("graph.json", ["imports", "exports"])).toContain(
            "graph.json is missing one of the fields imports, exports",
        );
    });
});