From 84e95f11cb9bdae13f3c4af3625efdc85990bfff Mon Sep 17 00:00:00 2001 From: Jeremy Nicholl Date: Thu, 3 Feb 2022 15:19:57 -0500 Subject: [PATCH] Fix formatting --- tests/y-text.tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/y-text.tests.js b/tests/y-text.tests.js index 0ca9a879..7a8c448a 100644 --- a/tests/y-text.tests.js +++ b/tests/y-text.tests.js @@ -143,7 +143,7 @@ export const testNotMergeEmptyLinesFormat = tc => { */ export const testPreserveAttributesThroughDelete = tc => { const ydoc = new Y.Doc() - const testText = ydoc.getText('test'); + const testText = ydoc.getText('test') testText.applyDelta([ { insert: 'Text' }, { insert: '\n', attributes: { title: true } }, @@ -152,11 +152,11 @@ export const testPreserveAttributesThroughDelete = tc => { testText.applyDelta([ { retain: 4 }, { delete: 1 }, - { retain: 1, attributes: { title: true } }, + { retain: 1, attributes: { title: true } } ]) t.compare(testText.toDelta(), [ { insert: 'Text' }, - { insert: '\n', attributes: { title: true } }, + { insert: '\n', attributes: { title: true } } ]) }