This commit is contained in:
Andras Schmelczer 2026-09-27 08:29:17 +01:00
commit 3dab48f58b

View file

@ -75,7 +75,7 @@ test("stale content acknowledgements contain metadata without the excluded paylo
test("highly fragmented local edits use a snapshot within the server operation budget", async () => {
const { fixture } = await import("./sync-fixture");
const { toStoredSnapshot } = await import("../sync-client/src/snapshot");
const { hashSnapshot } = await import("../sync-client/src/snapshot");
const f = await fixture({});
f.contentCache.resize(1024 * 1024);
const original = Array.from({ length: 12_000 }, (_, i) => `word${i}`).join(
@ -95,7 +95,7 @@ test("highly fragmented local edits use a snapshot within the server operation b
const request = await syncer.pushContent(
"a.md",
1,
await toStoredSnapshot({ content: bytes(edited) })
await hashSnapshot({ content: bytes(edited) })
);
assert.equal(request.type, "Snapshot");
});