From fc38f3b8482d2bbe2c1793c19121f7c524a64303 Mon Sep 17 00:00:00 2001 From: Kevin Jahns <kevin.jahns@pm.me> Date: Fri, 19 Nov 2021 17:34:14 +0100 Subject: [PATCH] formatting bug --- tests/y-text.tests.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/y-text.tests.js b/tests/y-text.tests.js index f4ede339..f066782c 100644 --- a/tests/y-text.tests.js +++ b/tests/y-text.tests.js @@ -553,8 +553,6 @@ export const testSearchMarkerBug1 = tc => { } /** - * Reported in https://github.com/yjs/yjs/pull/32 - * * @param {t.TestCase} tc */ export const testFormattingBug = async tc => { @@ -564,7 +562,6 @@ export const testFormattingBug = async tc => { text1.insert(0, '\n\n\n') text1.format(0, 3, { url: 'http://example.com' }) ydoc1.getText().format(1, 1, { url: 'http://docs.yjs.dev' }) - ydoc2.getText().format(1, 1, { url: 'http://docs.yjs.dev' }) Y.applyUpdate(ydoc2, Y.encodeStateAsUpdate(ydoc1)) const text2 = ydoc2.getText() const expectedResult = [