mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 19:34:59 +00:00
chore: Fix types in tests 39/N.
This commit is contained in:
@@ -324,7 +324,10 @@ describe("discord component interactions", () => {
|
||||
await button.run(interaction, { cid: "btn_1" } as ComponentData);
|
||||
|
||||
const { interaction: secondInteraction } = createComponentButtonInteraction({
|
||||
rawData: { channel_id: "dm-channel", id: "interaction-2" },
|
||||
rawData: {
|
||||
channel_id: "dm-channel",
|
||||
id: "interaction-2",
|
||||
} as unknown as ButtonInteraction["rawData"],
|
||||
});
|
||||
await button.run(secondInteraction, { cid: "btn_1" } as ComponentData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user