diff --git a/src/application/environment/environmentStateAssignedCoverage.test.ts b/src/application/environment/environmentStateAssignedCoverage.test.ts index fe23a2b1043..7e3e5509fe6 100644 --- a/src/application/environment/environmentStateAssignedCoverage.test.ts +++ b/src/application/environment/environmentStateAssignedCoverage.test.ts @@ -1,8 +1,6 @@ import { describe, expect, it } from "vitest"; import { servedFrom } from "../../../tests/fixtures/environmentStateServing.js"; - -const uuid = (n: number): string => - `00000000-0000-4000-8000-${String(n).padStart(12, "0")}`; +import { numberedUuid as uuid } from "../../../tests/fixtures/environmentStateWrites.js"; /** Two held books and a create whose `mixed` joins the generated id and the sent slug; the held books put `heldPrefix` before theirs. */ const slugBooks = (heldPrefix = "") => { diff --git a/src/application/environment/environmentStateBulkAnswer.test.ts b/src/application/environment/environmentStateBulkAnswer.test.ts index 8170c1efdde..7e88f180bcc 100644 --- a/src/application/environment/environmentStateBulkAnswer.test.ts +++ b/src/application/environment/environmentStateBulkAnswer.test.ts @@ -8,6 +8,7 @@ import { BOTH_BOOKS_RENAMED_ROWS, FIRST_BOOK, SECOND_BOOK, + numberedUuid as uuid, renamedBook, type Book, } from "../../../tests/fixtures/environmentStateWrites.js"; @@ -377,9 +378,6 @@ describe("served bulk writes whose recordings answered every entity", () => { }); }); -const uuid = (n: number): string => - `00000000-0000-4000-8000-${String(n).padStart(12, "0")}`; - /** A book holding child rows, which an update gives fresh ids. */ const withRows = (id: number, name: string, row: number) => ({ id,