mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
dont expect rendered to be called from range.replace()
anymore
as this is now called from the `transform` method, unused in this test
This commit is contained in:
parent
d8bb9ecedf
commit
994bcb5c85
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue