mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 03:54:32 +00:00
chore(tsgo/format): fix CI errors
This commit is contained in:
@@ -449,7 +449,7 @@ describe("parseLineDirectives", () => {
|
||||
if (testCase.expectFooter) {
|
||||
expect(flexMessage?.contents?.footer?.contents?.length, testCase.name).toBeGreaterThan(0);
|
||||
}
|
||||
if (testCase.expectBodyContents) {
|
||||
if ("expectBodyContents" in testCase && testCase.expectBodyContents) {
|
||||
expect(flexMessage?.contents?.body?.contents, testCase.name).toBeDefined();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user