diff --git a/test/components/Chat.test.tsx b/test/components/Chat.test.tsx index 8242fdc..6edbe45 100644 --- a/test/components/Chat.test.tsx +++ b/test/components/Chat.test.tsx @@ -66,7 +66,7 @@ describe('Chat', () => { startingAgentMessage="Hello test" agentName="Test bot" inputMessagePlaceholder="Is this a test?" - executeRecaptcha={(name: string) => name} + executeRecaptcha={async (name: string) => name} /> ); const chatButton = screen.getByRole('button');