From 99bab4a1d897a62bd2afd4a276df7ac76dce8dd6 Mon Sep 17 00:00:00 2001 From: Dominik Henneke Date: Mon, 3 Apr 2023 13:30:36 +0200 Subject: [PATCH] Fix lint errors --- tests/undo-redo.tests.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/undo-redo.tests.js b/tests/undo-redo.tests.js index 261eaffd..002a05c7 100644 --- a/tests/undo-redo.tests.js +++ b/tests/undo-redo.tests.js @@ -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' }) -}; - +}