remove todo comment
This commit is contained in:
		
							parent
							
								
									100e436e2c
								
							
						
					
					
						commit
						4de3c004a8
					
				| @ -519,7 +519,6 @@ export const testMoveSingleItemRemovesPrev = tc => { | |||||||
|   const ydoc = new Y.Doc() |   const ydoc = new Y.Doc() | ||||||
|   const yarray = ydoc.getArray() |   const yarray = ydoc.getArray() | ||||||
|   yarray.insert(0, [1, 2, 3]) |   yarray.insert(0, [1, 2, 3]) | ||||||
|   // @todo should be old-position to new-position. so that below move matches
 |  | ||||||
|   yarray.move(0, 3) |   yarray.move(0, 3) | ||||||
|   t.compareArrays(yarray.toArray(), [2, 3, 1]) |   t.compareArrays(yarray.toArray(), [2, 3, 1]) | ||||||
|   yarray.move(2, 0) |   yarray.move(2, 0) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user