remove todo comment

This commit is contained in:
Kevin Jahns 2022-07-11 18:42:29 +02:00
parent 100e436e2c
commit 4de3c004a8

View File

@ -519,7 +519,6 @@ export const testMoveSingleItemRemovesPrev = tc => {
const ydoc = new Y.Doc()
const yarray = ydoc.getArray()
yarray.insert(0, [1, 2, 3])
// @todo should be old-position to new-position. so that below move matches
yarray.move(0, 3)
t.compareArrays(yarray.toArray(), [2, 3, 1])
yarray.move(2, 0)