# test.content/core/loaders/coverage.loader.test.ts

> 11 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-content-core-loaders-coverage-loader-test-ts
Source text: https://banes-lab.com/source/testing/test.content/core/loaders/coverage.loader.test.ts.txt

Listed in [test.content/core/loaders](https://banes-lab.com/api/source/testing/test.content/core/loaders.md), after [test.content/core/loaders/coordination.loader.test.ts](https://banes-lab.com/source/testing/test.content/core/loaders/coordination.loader.test.ts.md) and before [test.content/core/loaders/inventory.loader.test.ts](https://banes-lab.com/source/testing/test.content/core/loaders/inventory.loader.test.ts.md).

## Contained in

- [test.content/core/loaders](https://banes-lab.com/anatomy/testing/folder-testing-test-content-core-loaders.md)

## Source

```typescript
import { describe, expect, it } from "vitest";
import { METHODOLOGY_PAGE } from "@banes-lab/web/core/ids/page.ids.ts";
import { loadContentGraphs } from "@banes-lab/content/core/loaders/coverage.loader.ts";

describe("loadContentGraphs", () => {
    it("discovers the methodology graph by its export shape", async () => {
        const graphs = await loadContentGraphs();
        const methodology = graphs.find((graph) => graph.page === METHODOLOGY_PAGE);
        expect(methodology).toBeDefined();
        expect(Object.keys(methodology?.sections ?? {}).length).toBeGreaterThan(0);
    });
});
```
