From 616ff5ce761b448e6288f515c4fe44306efc6de4 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 22 Oct 2019 15:43:40 +0200 Subject: [PATCH] adjust list item numbers in test that are now preserved --- test/editor/deserialize-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/editor/deserialize-test.js b/test/editor/deserialize-test.js index bf670b0fd8..ae25e45126 100644 --- a/test/editor/deserialize-test.js +++ b/test/editor/deserialize-test.js @@ -208,9 +208,9 @@ describe('editor/deserialize', function() { expect(parts.length).toBe(5); expect(parts[0]).toStrictEqual({type: "plain", text: "1. Start"}); expect(parts[1]).toStrictEqual({type: "newline", text: "\n"}); - expect(parts[2]).toStrictEqual({type: "plain", text: "1. Continue"}); + expect(parts[2]).toStrictEqual({type: "plain", text: "2. Continue"}); expect(parts[3]).toStrictEqual({type: "newline", text: "\n"}); - expect(parts[4]).toStrictEqual({type: "plain", text: "1. Finish"}); + expect(parts[4]).toStrictEqual({type: "plain", text: "3. Finish"}); }); it('mx-reply is stripped', function() { const html = "foobar";