Skip to content

Commit

Permalink
🐛 ♻️ update executeRecaptcha test func to async
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkjrs committed Nov 14, 2023
1 parent 635de00 commit 2698cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/Chat.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 2698cf3

Please sign in to comment.