diff --git a/src/__test__/commands/funTests/poll.command.test.ts b/src/__test__/commands/funTests/poll.command.test.ts index a48b2304..70bb111f 100644 --- a/src/__test__/commands/funTests/poll.command.test.ts +++ b/src/__test__/commands/funTests/poll.command.test.ts @@ -103,7 +103,7 @@ jest.mock('parse-duration', () => jest.fn()); // --- Typed Mocks --- // Casting to jest.Mock unlocks helper APIs (mockReturnValue, etc.) in TS. -const mockParse = parse as jest.Mock; +const mockParse = parse as unknown as jest.Mock; const MockEmbedBuilder = EmbedBuilder as unknown as jest.Mock; const MockButtonBuilder = ButtonBuilder as unknown as jest.Mock; const MockActionRowBuilder = ActionRowBuilder as unknown as jest.Mock;