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

View file

@ -9,7 +9,6 @@ for (const mode of [
"behind",
"dirty",
"pending",
"legacy-state",
...["before:save", "durable:save"].flatMap((boundary) =>
[1, 2, 3, 4, 5].map((ordinal) => `${boundary}:${ordinal}`)
)
@ -124,16 +123,6 @@ for (const mode of [
await f.reopenClient();
await f.client.start();
}
if (mode === "legacy-state") {
await f.client.destroy();
const stored = f.store.snapshot() as ReturnType<
typeof f.store.snapshot
> & { historyCheckpoint?: unknown };
delete stored.historyCheckpoint;
await f.store.save(stored);
await f.reopenClient();
await f.client.start();
}
await f.client.setSetting("isSyncEnabled", true);
const actual = Buffer.from(
(await f.disk.read("a.md"))!.content