mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 08:07:40 +00:00
chore: Fix types in tests 24/N.
This commit is contained in:
@@ -49,7 +49,7 @@ describe("registerTelegramNativeCommands (plugin auth)", () => {
|
||||
registerTelegramNativeCommands({
|
||||
bot: bot as unknown as Parameters<typeof registerTelegramNativeCommands>[0]["bot"],
|
||||
cfg: {} as OpenClawConfig,
|
||||
runtime: { log } as RuntimeEnv,
|
||||
runtime: { log } as unknown as RuntimeEnv,
|
||||
accountId: "default",
|
||||
telegramCfg: {} as TelegramAccountConfig,
|
||||
allowFrom: [],
|
||||
@@ -112,7 +112,7 @@ describe("registerTelegramNativeCommands (plugin auth)", () => {
|
||||
registerTelegramNativeCommands({
|
||||
bot: bot as unknown as Parameters<typeof registerTelegramNativeCommands>[0]["bot"],
|
||||
cfg,
|
||||
runtime: {} as RuntimeEnv,
|
||||
runtime: {} as unknown as RuntimeEnv,
|
||||
accountId: "default",
|
||||
telegramCfg,
|
||||
allowFrom: ["999"],
|
||||
|
||||
Reference in New Issue
Block a user