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

Commit 1fe2085

Browse files
committed
Fix deserialize test
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 0c86936 commit 1fe2085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/editor/deserialize-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ describe('editor/deserialize', function() {
178178
const parts = normalize(parseEvent(htmlMessage(html), createPartCreator()));
179179
expect(parts.length).toBe(3);
180180
expect(parts[0]).toStrictEqual({type: "plain", text: "Try "});
181-
expect(parts[1]).toStrictEqual({type: "room-pill", text: "#room:hs.tld"});
181+
expect(parts[1]).toStrictEqual({type: "room-pill", text: "#room:hs.tld", resourceId: "#room:hs.tld"});
182182
expect(parts[2]).toStrictEqual({type: "plain", text: "?"});
183183
});
184184
it('@room pill', function() {

0 commit comments

Comments
 (0)