From 2698cf335752d5c0f2a364d9b2da91c5c4e601f9 Mon Sep 17 00:00:00 2001 From: "Jason R. Stevens, CFA" Date: Tue, 14 Nov 2023 14:55:27 -0500 Subject: [PATCH] :bug: :recycle: update executeRecaptcha test func to async --- test/components/Chat.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');