mirror of https://github.com/openclaw/openclaw.git
fix(ci): narrow matrix action test discovery
This commit is contained in:
parent
a7dd6036a0
commit
e88f4fe5f4
|
|
@ -196,11 +196,16 @@ describe("matrixMessageActions", () => {
|
|||
},
|
||||
} as CoreConfig;
|
||||
|
||||
const assistantDiscovery = matrixMessageActions.describeMessageTool!({
|
||||
const describeMessageTool = matrixMessageActions.describeMessageTool;
|
||||
if (!describeMessageTool) {
|
||||
throw new Error("matrix message action discovery is unavailable");
|
||||
}
|
||||
|
||||
const assistantDiscovery = describeMessageTool({
|
||||
cfg,
|
||||
accountId: "assistant",
|
||||
} as never);
|
||||
const opsDiscovery = matrixMessageActions.describeMessageTool!({
|
||||
const opsDiscovery = describeMessageTool({
|
||||
cfg,
|
||||
accountId: "ops",
|
||||
} as never);
|
||||
|
|
|
|||
Loading…
Reference in New Issue