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].type).toBe("plain");
|
||||||
expect(model.parts[2].text).toBe("!!!!");
|
expect(model.parts[2].text).toBe("!!!!");
|
||||||
expect(model.parts.length).toBe(3);
|
expect(model.parts.length).toBe(3);
|
||||||
expect(renderer.count).toBe(1);
|
|
||||||
});
|
});
|
||||||
it('range replace across parts', function() {
|
it('range replace across parts', function() {
|
||||||
const renderer = createRenderer();
|
const renderer = createRenderer();
|
||||||
|
@ -83,6 +82,5 @@ describe('editor/range', function() {
|
||||||
expect(model.parts[2].type).toBe("plain");
|
expect(model.parts[2].type).toBe("plain");
|
||||||
expect(model.parts[2].text).toBe(" me");
|
expect(model.parts[2].text).toBe(" me");
|
||||||
expect(model.parts.length).toBe(3);
|
expect(model.parts.length).toBe(3);
|
||||||
expect(renderer.count).toBe(1);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue