The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: fix flaky test
TzeYiingb9c4a2e8464f
diff --git a/studio/tests/pages/projects/Logs.Datepickers.test.js b/studio/tests/pages/projects/Logs.Datepickers.test.jsindex 4b943134a48..4654f366038 100644--- a/studio/tests/pages/projects/Logs.Datepickers.test.js+++ b/studio/tests/pages/projects/Logs.Datepickers.test.js@@ -75,6 +75,11 @@ test('datepicker onChange will return ISO string of selected dates', async () =>userEvent.click(await screen.findByText('Apply'))expect(mockFn).toBeCalled()const call = mockFn.mock.calls[0][0]- expect(call.to).not.toMatch('T12')- expect(call.from).not.toMatch('T00')+ if (Intl.DateTimeFormat().resolvedOptions().timeZone.toLowerCase() == 'etc/utc') {+ expect(call.to).toMatch('T12')+ expect(call.from).toMatch('T00')+ } else {+ expect(call.to).not.toMatch('T12')+ expect(call.from).not.toMatch('T00')+ }})