.
This commit is contained in:
parent
25f64ec690
commit
ff1f474324
1 changed files with 3271 additions and 2003 deletions
|
|
@ -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) })
|
||||
|
|
|
|||
Loading…
Reference in a new issue