mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:18:28 +00:00
chore: Fix types in tests 35/N.
This commit is contained in:
@@ -26,13 +26,10 @@ const loadConfig = getLoadConfigMock();
|
||||
const readChannelAllowFromStore = getReadChannelAllowFromStoreMock();
|
||||
|
||||
function resolveSkillCommands(config: Parameters<typeof listNativeCommandSpecsForConfig>[0]) {
|
||||
return (
|
||||
listSkillCommandsForAgents as unknown as (params: {
|
||||
cfg: typeof config;
|
||||
}) => Parameters<typeof listNativeCommandSpecsForConfig>[1]["skillCommands"]
|
||||
)({
|
||||
cfg: config,
|
||||
});
|
||||
void config;
|
||||
return listSkillCommandsForAgents() as NonNullable<
|
||||
Parameters<typeof listNativeCommandSpecsForConfig>[1]
|
||||
>["skillCommands"];
|
||||
}
|
||||
|
||||
const ORIGINAL_TZ = process.env.TZ;
|
||||
|
||||
Reference in New Issue
Block a user