diff --git a/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx b/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx index ad23a4ee18b..212aa02cc1c 100644 --- a/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx +++ b/apps/studio/components/interfaces/Database/Replication/Destinations.test.tsx @@ -756,7 +756,7 @@ describe('regions', () => { { status: 503 } ) enabledClusters.delete(cluster) - return new HttpResponse(null, { status: 200 }) + return HttpResponse.json>({}, { status: 200 }) }, }) @@ -844,7 +844,7 @@ describe('regions', () => { const { requests } = mockRegionalDisable() renderRegions() - expect(await screen.findByText('Failed to retrieve pipeline regions')).toBeInTheDocument() + expect(await screen.findByText('Could not load pipeline information')).toBeInTheDocument() await screen.findByRole('heading', { name: 'Add a pipeline' }) fireEvent.pointerDown(screen.getByRole('button', { name: 'More actions' }), { button: 0,