Skip to content

Commit

Permalink
Fix: OfferCTAButton
Browse files Browse the repository at this point in the history
  • Loading branch information
imouandjolobe-pass committed Jul 24, 2024
1 parent 5f2aa43 commit 510f5ad
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ describe('<OfferCTAButton />', () => {
fireEvent.press(screen.getByText('Accéder à l’offre en ligne'))
})

expect(mockShowErrorSnackBar).not.toHaveBeenCalled()
await waitFor(() => {
expect(mockShowErrorSnackBar).not.toHaveBeenCalled()
})
})
})

Expand Down

0 comments on commit 510f5ad

Please sign in to comment.