# tests/core/registries/fixture.registry.test.ts

> 13 lines of code and 0 definitions.

Tree: Coordination tree
Language: typescript
Canonical: https://banes-lab.com/anatomy/coordination#file-coordination-tests-core-registries-fixture-registry-test-ts
Source text: https://banes-lab.com/assets/sources/source.05f8e44085bd508116d93d8ddeeceb9c100ea615b5f9cd0e39c6e07bbcf25dfb.generated.txt

## Source

```typescript
import { describe, it } from "node:test";
import assert from "node:assert/strict";
import { discoverFixtures } from "../../../tools/core/registries/fixture.registry.ts";
import { projectRoot } from "../../../config/surface.config.ts";

describe("discoverFixtures", () => {
    it("loads the package's own fixtures into gates and branches, and reports none unreadable", async () => {
        const registry = await discoverFixtures(projectRoot());
        assert.equal(registry.gates.length > 0, true);
        assert.equal(registry.branches.length > 0, true);
        assert.deepEqual(registry.unreadable, []);
        assert.equal(registry.sources.length > 0, true);
    });
});
```
