mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-23 23:22:32 +00:00
test(config): fix markdown table mock typing
This commit is contained in:
@@ -15,7 +15,7 @@ vi.mock("../channels/plugins/registry.js", async () => {
|
||||
);
|
||||
return {
|
||||
...actual,
|
||||
listChannelPlugins: (...args: unknown[]) => listChannelPluginsMock(...args),
|
||||
listChannelPlugins: () => listChannelPluginsMock(),
|
||||
};
|
||||
});
|
||||
|
||||
@@ -24,8 +24,7 @@ vi.mock("../plugins/runtime.js", async () => {
|
||||
await vi.importActual<typeof import("../plugins/runtime.js")>("../plugins/runtime.js");
|
||||
return {
|
||||
...actual,
|
||||
getActivePluginChannelRegistryVersion: (...args: unknown[]) =>
|
||||
getActivePluginChannelRegistryVersionMock(...args),
|
||||
getActivePluginChannelRegistryVersion: () => getActivePluginChannelRegistryVersionMock(),
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user