mirror of https://github.com/openclaw/openclaw.git
Feishu: fix locale-wrapper post parser test (#29576)
This commit is contained in:
parent
b297bae027
commit
f810932859
|
|
@ -92,11 +92,13 @@ describe("parsePostContent", () => {
|
|||
expect(parsePostContent(wrappedByPost)).toEqual({
|
||||
textContent: "标题\n\n内容A",
|
||||
imageKeys: [],
|
||||
mediaKeys: [],
|
||||
mentionedOpenIds: [],
|
||||
});
|
||||
expect(parsePostContent(wrappedByLocale)).toEqual({
|
||||
textContent: "标题\n\n内容B",
|
||||
imageKeys: [],
|
||||
mediaKeys: [],
|
||||
mentionedOpenIds: [],
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue