mirror of
https://github.com/yjs/yjs.git
synced 2026-02-24 04:01:14 +01:00
Fix lint errors
This commit is contained in:
committed by
Kevin Jahns
parent
1674d3986d
commit
99bab4a1d8
@@ -647,7 +647,7 @@ export const testSpecialDeletionCase = tc => {
|
||||
|
||||
/**
|
||||
* Deleted entries in a map should be restored on undo.
|
||||
*
|
||||
*
|
||||
* @see https://github.com/yjs/yjs/issues/500
|
||||
* @param {t.TestCase} tc
|
||||
*/
|
||||
@@ -667,20 +667,19 @@ export const testUndoDeleteInMap = (tc) => {
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), {})
|
||||
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), { a: 'c' })
|
||||
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), {})
|
||||
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), { a: 'b' })
|
||||
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), {})
|
||||
|
||||
|
||||
undoManager.undo()
|
||||
t.compare(map0.toJSON(), { a: 'a' })
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user