diff --git a/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx b/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx index ee4c9431450..059405e8856 100644 --- a/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx +++ b/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx @@ -888,9 +888,7 @@ describe('regions', () => { }) renderRegions() - expect( - await screen.findByText('Could not load results from Frankfurt') - ).toBeInTheDocument() + expect(await screen.findByText('Could not load results from Frankfurt')).toBeInTheDocument() canReadSource = true fireEvent.click(screen.getByRole('button', { name: 'Retry' }))