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

View file

@ -7,7 +7,7 @@ import { NodeFileSystemOperations } from "../local-client-cli/src/node-filesyste
import { Database, emptyState } from "../sync-client/src/persistence/database";
import { FileOperations } from "../sync-client/src/file-operations/file-operations";
import type { ServerConfig } from "../sync-client/src/services/server-config";
import { toStoredSnapshot } from "../sync-client/src/snapshot";
import { hashSnapshot } from "../sync-client/src/snapshot";
test(
"real filesystem: direct updates, unsafe entries, and file swaps",
@ -103,7 +103,7 @@ test(
initial.documents[id] = {
observedHash: (
await toStoredSnapshot(
await hashSnapshot(
(await disk.read(relative))!
)
).hash