fix(housekeeping): complete people read fidelity

This commit is contained in:
Simo committed 2026-08-29 10:34:44 +02:00
1 parent d1382c839e
commit 7920d4f46c
8 files changed
+564 -37

No files matched your search

@@ -1,5 +1,6 @@
import { describe, expect, it } from "vitest";
import {
assertPeopleSerializable,
createPeoplePage,
normalizePeopleListInput,
normalizePeopleUser,
@@ -171,5 +172,12 @@ describe("People canonical models", () => {
expect(() => peopleUserHref(Number.MAX_SAFE_INTEGER + 1)).toThrow();
expect(() => peopleGuildHref(-4)).toThrow();
expect(() => toPeopleIsoDate("not-a-date")).toThrow();
expect(() =>
assertPeopleSerializable({
id: 7,
userId: 0,
href: "/ase/people/users/7",
}),
).toThrow();
});
});