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