,,
This commit is contained in:
parent
0c75d3b4c2
commit
3dab48f58b
1 changed files with 1141 additions and 1376 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue