# test.coordination/core/strings/source.strings.test.ts

> 10 lines of code and 0 definitions.

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

Listed in [test.coordination/core/strings](https://banes-lab.com/api/source/testing/test.coordination/core/strings.md), after [test.coordination/core/strings/segment.strings.test.ts](https://banes-lab.com/source/testing/test.coordination/core/strings/segment.strings.test.ts.md) and before [test.coordination/core/strings/venue.strings.test.ts](https://banes-lab.com/source/testing/test.coordination/core/strings/venue.strings.test.ts.md).

## Contained in

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

## Source

```typescript
import { describe, it } from "vitest";
import assert from "node:assert/strict";
import { sourceSummary } from "coordination-surface/tools/core/strings/source.strings.ts";

describe("sourceSummary", () => {
    it("says whether the sweep cleaned or previewed, with its counts and report", () => {
        const counts = { files: 2, kept: 1, removed: 3, scanned: 9 };
        assert.ok(sourceSummary(true, counts, "r.json").startsWith("CLEANED  scanned=9 files=2 removed=3"));
        assert.ok(sourceSummary(false, counts, "r.json").includes("report: r.json"));
    });
});
```
