.
This commit is contained in:
parent
4c002f9acd
commit
b07aa589ff
1 changed files with 728 additions and 530 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue