Skip to content

Commit

Permalink
fix(11215): switch test selector that triggers render error
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaryatrh committed Nov 13, 2024
1 parent 8cea6c9 commit 0574764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Views/LedgerConnect/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ describe('LedgerConnect', () => {
it('shows error message about multiple devices support', async () => {
isSendingLedgerCommands = true;
isAppLaunchConfirmationNeeded = false;
const { findByTestId } = renderWithProvider(
const { getByTestId } = renderWithProvider(
<LedgerConnect
onConnectLedger={onConfirmationComplete}
isSendingLedgerCommands={isSendingLedgerCommands}
Expand All @@ -384,7 +384,7 @@ describe('LedgerConnect', () => {
/>,
);
await waitFor(() => {
expect(findByTestId('multiple-devices-error-message')).toBeDefined();
expect(getByTestId('multiple-devices-error-message')).toBeDefined();
});
});
});

0 comments on commit 0574764

Please sign in to comment.