test(supabase): isolated Supabase stack and real-stack suite for M1

scripts/db-sandbox.sh (pnpm db:sandbox): DEV images on an own network, loopback ports distinct from DEV, no volume, secrets generated outside Git; fresh and upgrade modes through the CLI's migration up, test db and gen types with --db-url. packages/supabase/tests/sandbox: M1 sign-up and confirmation, reads and refusals per role, residual GoTrue admin path, correlation cap, concurrent sessions.
This commit is contained in:
bchanot committed 2026-10-25 20:57:09 +01:00
1 parent 6bf69787cb
commit 08abe42c48
6 files changed
+791 -1

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@
"test:run": "vitest run",
"lint": "eslint . --max-warnings 0",
"build": "tsc -p tsconfig.json --noEmit",
"test:e2e": "vitest run --config vitest.e2e.config.ts"
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:sandbox": "vitest run --config vitest.sandbox.config.ts"
},
"dependencies": {
"@supabase/supabase-js": "^2.100.0",