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

> 9 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-rules-shared-strings-graph-strings-test-ts
Source text: https://banes-lab.com/source/testing/test.rules/shared/strings/graph.strings.test.ts.txt

Listed in [test.rules/shared/strings](https://banes-lab.com/api/source/testing/test.rules/shared/strings.md), before [test.rules/shared/strings/manifest.strings.test.ts](https://banes-lab.com/source/testing/test.rules/shared/strings/manifest.strings.test.ts.md).

## Contained in

- [test.rules/shared/strings](https://banes-lab.com/anatomy/testing/folder-testing-test-rules-shared-strings.md)

## Source

```typescript
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",
        );
    });
});
```
