fix several issues of supporting deleted move ops

This commit is contained in:
Kevin Jahns
2022-07-08 21:36:36 +02:00
parent 0ce40596d1
commit 19723670c4
4 changed files with 24 additions and 9 deletions

View File

@@ -569,7 +569,6 @@ export const testMoveDeletions = tc => {
ydoc.transact(tr => {
/** @type {Item} */ (yarray._start).delete(tr)
})
debugger
t.compare(lastDelta, [{ delete: 1 }, { retain: 2 }, { insert: [3] }])
t.compareArrays(yarray.toArray(), [1, 2, 3])
t.compareArrays(yarray.toArray(), array)