mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:07:39 +00:00
chore: Fix types in tests 39/N.
This commit is contained in:
@@ -19,7 +19,7 @@ describe("maybeCreateDiscordAutoThread", () => {
|
||||
message: mockMessage,
|
||||
messageChannelId: "forum1",
|
||||
isGuildMessage: true,
|
||||
channelConfig: { autoThread: true },
|
||||
channelConfig: { allowed: true, autoThread: true },
|
||||
channelType: ChannelType.GuildForum,
|
||||
baseText: "test",
|
||||
combinedBody: "test",
|
||||
@@ -34,7 +34,7 @@ describe("maybeCreateDiscordAutoThread", () => {
|
||||
message: mockMessage,
|
||||
messageChannelId: "media1",
|
||||
isGuildMessage: true,
|
||||
channelConfig: { autoThread: true },
|
||||
channelConfig: { allowed: true, autoThread: true },
|
||||
channelType: ChannelType.GuildMedia,
|
||||
baseText: "test",
|
||||
combinedBody: "test",
|
||||
@@ -50,7 +50,7 @@ describe("maybeCreateDiscordAutoThread", () => {
|
||||
message: mockMessage,
|
||||
messageChannelId: "text1",
|
||||
isGuildMessage: true,
|
||||
channelConfig: { autoThread: true },
|
||||
channelConfig: { allowed: true, autoThread: true },
|
||||
channelType: ChannelType.GuildText,
|
||||
baseText: "test",
|
||||
combinedBody: "test",
|
||||
|
||||
Reference in New Issue
Block a user