# test.govlab/docs/configuration/strings/governance.strings.test.ts

> 26 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-govlab-docs-configuration-strings-governance-strings-test-ts
Source text: https://banes-lab.com/source/testing/test.govlab/docs/configuration/strings/governance.strings.test.ts.txt

Listed in [test.govlab/docs/configuration/strings](https://banes-lab.com/api/source/testing/test.govlab/docs/configuration/strings.md), after [test.govlab/docs/configuration/strings/finding.strings.test.ts](https://banes-lab.com/source/testing/test.govlab/docs/configuration/strings/finding.strings.test.ts.md) and before [test.govlab/docs/configuration/strings/index.strings.test.ts](https://banes-lab.com/source/testing/test.govlab/docs/configuration/strings/index.strings.test.ts.md).

## Contained in

- [test.govlab/docs/configuration/strings](https://banes-lab.com/anatomy/testing/folder-testing-test-govlab-docs-configuration-strings.md)

## Source

```typescript
import {
    ambiguousPrinciple,
    conflictingPrinciples,
    hardcodedCount,
    historySmell,
    unresolvedConcept,
    unresolvedPrinciple,
} from "@govlab/docs/configuration/strings/governance.strings.ts";
import { describe, expect, it } from "vitest";
import { hookLabel } from "@govlab/docs/configuration/strings/graph.strings.ts";
import { unmatched } from "./strings.fixture.ts";

describe("the governance and graph strings", () => {
    it("carry every operand they are given", () => {
        expect(
            unmatched([
                [historySmell("formerly"), '"formerly"'],
                [hardcodedCount("42"), '"42"'],
                [unresolvedPrinciple("ghost"), '"ghost"'],
                [conflictingPrinciples("alpha", "beta"), '"alpha" conflicts_with also-declared "beta"'],
                [ambiguousPrinciple("same"), '"same"'],
                [unresolvedConcept("csp"), '"csp"'],
                [hookLabel("close"), "hook close"],
            ]),
        ).toStrictEqual([]);
    });
});
```
