Skip to content

Commit f810932

Browse files
authored
Feishu: fix locale-wrapper post parser test (#29576)
1 parent b297bae commit f810932

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/feishu/src/post.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,13 @@ describe("parsePostContent", () => {
9292
expect(parsePostContent(wrappedByPost)).toEqual({
9393
textContent: "标题\n\n内容A",
9494
imageKeys: [],
95+
mediaKeys: [],
9596
mentionedOpenIds: [],
9697
});
9798
expect(parsePostContent(wrappedByLocale)).toEqual({
9899
textContent: "标题\n\n内容B",
99100
imageKeys: [],
101+
mediaKeys: [],
100102
mentionedOpenIds: [],
101103
});
102104
});

0 commit comments

Comments
 (0)