The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: supabase client test (#33173)
hallidayo8a3d147afc58
diff --git a/apps/docs/content/guides/database/testing.mdx b/apps/docs/content/guides/database/testing.mdxindex 0561b47a46c..be1a9a06696 100644--- a/apps/docs/content/guides/database/testing.mdx+++ b/apps/docs/content/guides/database/testing.mdx@@ -10,12 +10,6 @@ To ensure that queries return the expected data, RLS policies are correctly appl- Secondly, you can test through the Supabase CLI, which is a more low-level approach where you write tests in SQL.-# Testing through the Supabase client--A good starting point are the tests written for the Supabase client itself. For example, [here](https://github.com/supabase/supabase/tree/master/tests/features/javascript) are the tests for the Supabase JS client written with TypeScript and Jest.--Keep in mind that the tests (which you'll likely integrate into your CI) need to run with the same DB setup that you're running locally. That means you need to make all changes to the database exclusively through migrations (not manually).-# Testing using the Supabase CLIYou can use the Supabase CLI to test your database. The minimum required version of the CLI is [v1.11.4](https://github.com/supabase/cli/releases). To get started: