From b1f3b3f92303009a686d63ea418e2b16ef702e3b Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 19 Nov 2025 13:17:54 -0500 Subject: [PATCH] updated mockParse --- src/__test__/commands/funTests/poll.command.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;