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

View file

@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import { test } from "node:test";
import {
Database,
emptyState,
createEmptyDatabase,
type StoredDatabase
} from "../sync-client/src/persistence/database";
import { Settings } from "../sync-client/src/persistence/settings";
@ -87,7 +87,7 @@ async function fixture(syncIntervalMs: number | undefined) {
};
}
};
const initial = emptyState("polling-test");
const initial = createEmptyDatabase("polling-test");
initial.lastSeenUpdateId = 2;
initial.local = { [documentId]: "note.bin" };
initial.fileManifest = { fileManifestId: 2, entries: { ...initial.local } };