This commit is contained in:
Andras Schmelczer 2026-09-26 20:22:16 +01:00
commit b07aa589ff

View file

@ -34,13 +34,13 @@ test("canonical checks independently verify both persisted content hashes", asyn
};
const manifest = { fileManifestId: 2, entries: { [id]: "a.md" } };
const state: Partial<StoredDatabase> = {
initialized: true,
local: manifest.entries,
fileManifest: manifest,
lastSeenUpdateId: 2,
documents: {
[id]: {
materialized: true,
observedHash: hash,
base: { ...document, hash }
}
@ -297,7 +297,7 @@ test("canonical checks follow pages without weakening gap or duplicate-request d
const client = () => ({
files: () => new Map<string, Uint8Array>(),
database: () => ({
initialized: true,
local: {},
documents: {},
fileManifest: manifest,