....
This commit is contained in:
parent
3dab48f58b
commit
c869f0a880
1 changed files with 461 additions and 578 deletions
|
|
@ -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);
|
||||
`
|
||||
|
|
|
|||
Loading…
Reference in a new issue