testing library
Configuration of the local Supabase CLI stack that the integration tests of the client packages run against.
Defined once here so the suites of the different packages cannot drift apart. It is a separate library because none of it is part of the runtime API of the packages.
Constants
- localStackAnonKey → const String
- Anon API key of the local stack.
- localStackAuthUrl → const String
- Auth endpoint of the local stack.
- localStackDatabaseName → const String
- Database of the local stack.
- localStackDatabasePassword → const String
- Password of the Postgres superuser of the local stack.
- localStackDatabasePort → const int
- Port Postgres itself is exposed on, for tests that need to run SQL.
- localStackDatabaseUsername → const String
- Username of the Postgres superuser of the local stack.
- localStackHost → const String
- Host the local Supabase CLI stack is reachable at.
- localStackJwtSecret → const String
- Secret the local stack signs and verifies HS256 tokens with.
- localStackMailPort → const int
-
Web interface of the mail server of the local stack, which collects the
mails the auth service would have sent. The
[inbucket]section ofsupabase/config.tomlexposes it. - localStackMailUrl → const String
- Base URL of the mail server web interface of the local stack.
- localStackPort → const int
- Port of the API gateway of the local Supabase CLI stack.
- localStackRealtimeUrl → const String
- Realtime WebSocket endpoint of the local stack.
- localStackRestUrl → const String
- PostgREST endpoint of the local stack.
- localStackServiceRoleKey → const String
- Service role API key of the local stack, which bypasses row level security.
- localStackStorageUrl → const String
- Storage endpoint of the local stack.
- localStackUrl → const String
- Base URL of the API gateway, which every service is exposed through.