From 994bcb5c85058ffbe071976c1c3620eca74d8a00 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 27 Aug 2019 16:39:30 +0200 Subject: [PATCH] dont expect rendered to be called from `range.replace()` anymore as this is now called from the `transform` method, unused in this test --- test/editor/range-test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/editor/range-test.js b/test/editor/range-test.js index 5a95da952d..e5fa48ea15 100644 --- a/test/editor/range-test.js +++ b/test/editor/range-test.js @@ -60,7 +60,6 @@ describe('editor/range', function() { expect(model.parts[2].type).toBe("plain"); expect(model.parts[2].text).toBe("!!!!"); expect(model.parts.length).toBe(3); - expect(renderer.count).toBe(1); }); it('range replace across parts', function() { const renderer = createRenderer(); @@ -83,6 +82,5 @@ describe('editor/range', function() { expect(model.parts[2].type).toBe("plain"); expect(model.parts[2].text).toBe(" me"); expect(model.parts.length).toBe(3); - expect(renderer.count).toBe(1); }); });