mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:38:27 +00:00
chore: Fix types in tests 37/N.
This commit is contained in:
@@ -53,6 +53,10 @@ describe("buildLineMessageContext", () => {
|
||||
cfg,
|
||||
account,
|
||||
});
|
||||
expect(context).not.toBeNull();
|
||||
if (!context) {
|
||||
throw new Error("context missing");
|
||||
}
|
||||
|
||||
expect(context.ctxPayload.OriginatingTo).toBe("line:group:group-1");
|
||||
expect(context.ctxPayload.To).toBe("line:group:group-1");
|
||||
|
||||
Reference in New Issue
Block a user