Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
dont expect rendered to be called from range.replace() anymore
Browse files Browse the repository at this point in the history
as this is now called from the `transform` method, unused in this test
  • Loading branch information
bwindels committed Aug 27, 2019
1 parent d8bb9ec commit 994bcb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/editor/range-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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);
});
});

0 comments on commit 994bcb5

Please sign in to comment.