mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 00:48:27 +00:00
chore(tsgo/format): fix CI errors
This commit is contained in:
@@ -705,7 +705,7 @@ describe("discord reaction notification gating", () => {
|
||||
botId: "bot-1",
|
||||
messageAuthorId: "user-1",
|
||||
userId: "user-2",
|
||||
allowlist: [],
|
||||
allowlist: [] as string[],
|
||||
},
|
||||
expected: false,
|
||||
},
|
||||
@@ -717,7 +717,7 @@ describe("discord reaction notification gating", () => {
|
||||
messageAuthorId: "user-1",
|
||||
userId: "123",
|
||||
userName: "steipete",
|
||||
allowlist: ["123", "other"],
|
||||
allowlist: ["123", "other"] as string[],
|
||||
},
|
||||
expected: true,
|
||||
},
|
||||
@@ -984,7 +984,7 @@ describe("discord reaction notification modes", () => {
|
||||
{
|
||||
name: "allowlist mode",
|
||||
reactionNotifications: "allowlist" as const,
|
||||
users: ["123"],
|
||||
users: ["123"] as string[],
|
||||
userId: "123",
|
||||
channelType: ChannelType.GuildText,
|
||||
channelId: undefined,
|
||||
|
||||
Reference in New Issue
Block a user