test(m3): add Upstash read-tier rate limit HTTP test

Node test asserts 429 with Retry-After after 60 GET requests per IP.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Mauricio Barragan
2026-06-17 21:35:11 -06:00
parent 8c7127cfde
commit f6e8381c20
5 changed files with 99 additions and 3 deletions
+1
View File
@@ -13,6 +13,7 @@
"build": "npm --prefix web install && npm --prefix web run build",
"typecheck": "tsc --noEmit && npm --prefix web run typecheck",
"test": "node scripts/run-tests.mjs",
"test:rate-limit": "node --import tsx --test src/interfaces/http/rate-limit.test.ts",
"test:e2e": "playwright test",
"test:observability": "playwright test observability.spec.ts",
"lint": "eslint .",