Files
worldmonitor/tsconfig.api.json
Elie Habib b4a7a1736a fix(resilience): satisfy release gate validation (#2686)
* fix(resilience): satisfy release gate validation

Add release gate test fixtures and tests rebased on main. Replace
hardcoded ISO3 map with shared/iso2-to-iso3.json, exclude
server/__tests__ from API tsconfig, and adjust Cronbach alpha
threshold to match current scoring behavior.

Co-authored-by: Lucas Passos <lspassos1@users.noreply.github.com>

* fix(resilience): seed year-suffixed displacement key, fix threshold text

- Displacement fixture key now uses year suffix matching production
  scorer (displacement:summary:v1:2026 instead of displacement:summary:v1)
- Fix test description to match actual assertion (10, not 15)

* fix(review): align WGI fixture keys to production seed format

Use VA.EST, PV.EST, GE.EST, RQ.EST, RL.EST, CC.EST to match the
World Bank WGI indicator codes written by seed-resilience-static.mjs.

* fix(review): match displacement year basis, save/restore VERCEL_ENV

- Use getFullYear() (local time) to match production scorer, not
  getUTCFullYear() which can differ at the New Year boundary
- Save/restore VERCEL_ENV and delete it in installRedisFixtures()
  to prevent Redis key prefixing in preview/development environments

---------

Co-authored-by: Lucas Passos <lspassos1@users.noreply.github.com>
2026-04-04 19:31:02 +04:00

9 lines
179 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"types": ["vite/client"]
},
"include": ["api", "src/generated", "server"],
"exclude": ["server/__tests__/**"]
}