# test.build/core/steps/graph.step.test.ts

> 16 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-build-core-steps-graph-step-test-ts
Source text: https://banes-lab.com/source/testing/test.build/core/steps/graph.step.test.ts.txt

Listed in [test.build/core/steps](https://banes-lab.com/api/source/testing/test.build/core/steps.md), after [test.build/core/steps/diagram.step.test.ts](https://banes-lab.com/source/testing/test.build/core/steps/diagram.step.test.ts.md) and before [test.build/core/steps/icons.step.test.ts](https://banes-lab.com/source/testing/test.build/core/steps/icons.step.test.ts.md).

## Contained in

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

## Source

```typescript
import "@banes-lab/build-scripts/core/steps/graph.step.ts";
import { describe, expect, it } from "vitest";
import { registeredSteps } from "@banes-lab/build-scripts/core/registries/step.registry.ts";

describe("the graph step", () => {
    it("registers as a start step in every mode that runs after the ontology, the metrics and the links", () => {
        expect(registeredSteps()).toMatchObject([
            {
                gives: ["graph"],
                modes: ["build", "serve"],
                name: "graph",
                needs: ["ontology", "metrics", "links"],
                phase: "start",
            },
        ]);
    });
});
```
