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

> 15 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-coordination-core-strings-archive-strings-test-ts
Source text: https://banes-lab.com/source/testing/test.coordination/core/strings/archive.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/agenda.strings.test.ts](https://banes-lab.com/source/testing/test.coordination/core/strings/agenda.strings.test.ts.md) and before [test.coordination/core/strings/board.strings.test.ts](https://banes-lab.com/source/testing/test.coordination/core/strings/board.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 {
    extendContended,
    historyContended,
    repairContended,
} from "coordination-surface/tools/core/strings/archive.strings.ts";
import assert from "node:assert/strict";

const HISTORY = "history.txt";

describe("the archive contention messages", () => {
    it("name the history that moved, and say which write was held back", () => {
        const messages = [historyContended(HISTORY), repairContended(HISTORY), extendContended(HISTORY)];
        assert.ok(messages.every((message) => message.includes(HISTORY)));
        assert.equal(new Set(messages).size, 3);
    });
});
```
