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

> 10 lines of code and 0 definitions.

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

Listed in [test.build/core/steps](https://banes-lab.com/api/source/testing/test.build/core/steps.md), before [test.build/core/steps/chapter.step.test.ts](https://banes-lab.com/source/testing/test.build/core/steps/chapter.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/asset.step.ts";
import { describe, expect, it } from "vitest";
import { registeredSteps } from "@banes-lab/build-scripts/core/registries/step.registry.ts";

describe("the prune step", () => {
    it("registers as a build-only close step that runs after the prerender", () => {
        expect(registeredSteps()).toMatchObject([
            { gives: ["prune"], modes: ["build"], name: "prune", needs: ["prerender"], phase: "close" },
        ]);
    });
});
```
