This commit is contained in:
Andras Schmelczer 2026-09-27 11:09:36 +01:00
commit ff1f474324

View file

@ -85,14 +85,7 @@ test("highly fragmented local edits use a snapshot within the server operation b
i % 2 ? `changed${i}` : `word${i}`
).join(" ");
f.contentCache.put(1, bytes(original));
const syncer = f.syncer as unknown as {
pushContent(
path: string,
version: number,
snapshot: unknown
): Promise<{ type: string }>;
};
const request = await syncer.pushContent(
const request = await f.internals.content.createUploadPayload(
"a.md",
1,
await hashSnapshot({ content: bytes(edited) })