.
This commit is contained in:
parent
4c002f9acd
commit
b07aa589ff
1 changed files with 728 additions and 530 deletions
|
|
@ -68,7 +68,7 @@ export async function assertCanonical(
|
|||
"Snapshot heads differ from membership"
|
||||
);
|
||||
for (const [i, state] of states.entries()) {
|
||||
assert(state?.initialized, `Client ${i} never initialized`);
|
||||
assert(state?.lastSeenUpdateId !== undefined, `Client ${i} never initialized`);
|
||||
assertQuiescent(state, entries, snapshot.headEventId);
|
||||
assert.equal(
|
||||
state.fileManifest?.fileManifestId,
|
||||
|
|
@ -82,7 +82,7 @@ export async function assertCanonical(
|
|||
);
|
||||
for (const id of Object.keys(entries)) {
|
||||
assert(
|
||||
state.documents?.[id]?.materialized,
|
||||
state.documents?.[id]?.observedHash !== undefined,
|
||||
`Unmaterialized document: ${id}`
|
||||
);
|
||||
assert.equal(
|
||||
|
|
|
|||
Loading…
Reference in a new issue