This commit is contained in:
Andras Schmelczer 2026-09-27 09:04:05 +01:00
commit c869f0a880

View file

@ -269,7 +269,7 @@ test("a dirty cursor update must invalidate old precise positions", async () =>
const tracker = new CursorTracker(
f.database,
ws as unknown as WebSocketManager,
f.files,
f.files.fs,
new EventListeners()
);
let latest: import("../sync-client/src/types/maybe-outdated-client-cursors").MaybeOutdatedClientCursors[] =
@ -436,7 +436,7 @@ test("conflict allocation terminates when a truncated extension ends in a space"
`
const {allocatePortablePath,validatePortablePaths} = require(${JSON.stringify(modulePath)});
const name = 'a.' + 'x'.repeat(62) + ' ' + 'x'.repeat(100);
const allocated = allocatePortablePath(name, 'new', {old:name});
const allocated = allocatePortablePath(name, 'new', [name]);
validatePortablePaths([name, allocated]);
if (Buffer.byteLength(allocated) > 255) process.exit(2);
`