Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add isResponseOk mock

Alaister Young82020f7f6725
diff --git a/studio/__mocks__/lib/common/fetch.js b/studio/__mocks__/lib/common/fetch.js
index ab231111a61..f3fc7174999 100644
--- a/studio/__mocks__/lib/common/fetch.js
+++ b/studio/__mocks__/lib/common/fetch.js
@@ -1,2 +1,3 @@
export const get = jest.fn()
export const post = jest.fn()
+export const isResponseOk = jest.fn().mockRejectedValue(true)