# test.web/configuration/strings/report.strings.test.ts

> 19 lines of code and 0 definitions.

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

Listed in [test.web/configuration/strings](https://banes-lab.com/api/source/testing/test.web/configuration/strings.md), after [test.web/configuration/strings/ontology.strings.test.ts](https://banes-lab.com/source/testing/test.web/configuration/strings/ontology.strings.test.ts.md).

## Contained in

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

## Source

```typescript
import {
    missingElement,
    missingRootLink,
    undeclaredTree,
    unpublishedTree,
} from "@banes-lab/web/configuration/strings/report.strings.ts";
import { describe, expect, it } from "vitest";

describe("missingElement", () => {
    it("names the id the page shell lacks", () => {
        expect(missingElement("main")).toContain("the id main");
    });
});

describe("the tree refusals", () => {
    it("name the tree tab each refusal is about", () => {
        expect(missingRootLink("docs")).toContain("docs");
        expect(unpublishedTree("docs")).toContain("docs");
        expect(undeclaredTree("build")).toContain("No anatomy tree is declared with the tab build");
    });
});
```
