Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
nah more errors i want!
Browse files Browse the repository at this point in the history
  • Loading branch information
RiskyMH committed Dec 14, 2023
1 parent 4ad3e82 commit 5dc9355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord-api-parser/tests/interactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ describe("Chat input interaction", async () => {
expect(interaction).toBeInstanceOf(ChatInputInteraction);
expect(interaction).not.toBeInstanceOf(ButtonInteraction);
// @ts-expect-error this is ensured above
expect(interaction.commandType).toBe(ApplicationCommandType.ChatInput);
expect(interaction.commandType).toBe(ApplicationCommandType.User);

Check failure on line 49 in packages/discord-api-parser/tests/interactions.test.ts

View workflow job for this annotation

GitHub Actions / CI (Tests)

error: expect(received).toBe(expected)

Expected: 2 Received: 1 at /home/runner/work/RiskyBOT/RiskyBOT/packages/discord-api-parser/tests/interactions.test.ts:49:9 at /home/runner/work/RiskyBOT/RiskyBOT/packages/discord-api-parser/tests/interactions.test.ts:43:72
});
});

0 comments on commit 5dc9355

Please sign in to comment.