mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/fix_tests
This commit is contained in:
commit
8271dbe304
@ -208,9 +208,9 @@ describe('editor/deserialize', function() {
|
|||||||
expect(parts.length).toBe(5);
|
expect(parts.length).toBe(5);
|
||||||
expect(parts[0]).toStrictEqual({type: "plain", text: "1. Start"});
|
expect(parts[0]).toStrictEqual({type: "plain", text: "1. Start"});
|
||||||
expect(parts[1]).toStrictEqual({type: "newline", text: "\n"});
|
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[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() {
|
it('mx-reply is stripped', function() {
|
||||||
const html = "<mx-reply>foo</mx-reply>bar";
|
const html = "<mx-reply>foo</mx-reply>bar";
|
||||||
|
Loading…
Reference in New Issue
Block a user