test: add rls tenant isolation regression

This commit is contained in:
Codex
2026-06-30 01:58:37 +08:00
parent 3e741a2a23
commit 1b6006f8e6
6 changed files with 335 additions and 4 deletions

View File

@@ -42,6 +42,7 @@
"test:worker:exports": "npm run db:smoke-seed && npm run build:worker && node scripts/export-worker-integration-test.js",
"test:worker:imports": "npm run db:smoke-seed && npm run build:worker && node scripts/import-worker-integration-test.js",
"test:worker:public-banks": "npm run db:smoke-seed && npm run build:worker && node scripts/public-bank-worker-integration-test.js",
"test:rls": "npm run db:smoke-seed && node scripts/rls-tenant-isolation-test.js",
"test:readiness": "node scripts/production-readiness-check-test.js && node scripts/production-config-failfast-test.js && node --import tsx scripts/taro-runtime-config-test.js && node --import tsx scripts/taro-api-auth-mode-test.js",
"test:pb:dry-run": "node scripts/pb-dry-run-report-test.js",
"readiness:production": "node scripts/production-readiness-check.js --skip-db",