brackt/app/services/standings-sync/__tests__
Claude a9acfba546
Fix MLB division leaders missing when ESPN returns flat standings structure
When ESPN's API returns teams directly on the conference group (no division
children), all teams got division="" so only one team globally received
divisionRank=1. Fix by resolving division from a hardcoded team-name map
as a fallback, and scoping divisionRank computation per conference+division
to prevent AL/NL teams from sharing a group.

https://claude.ai/code/session_01288dkXYwKJUfXrEhPd8rmo
2026-06-11 17:40:21 +00:00
..
epl.test.ts Deduplicate soccer simulator helpers (#391) 2026-05-07 11:48:57 -07:00
f1.test.ts Fix IndyCar standings: correct ESPN stat key, update title, restore finalized badge 2026-06-10 09:17:23 -07:00
mlb.test.ts Fix MLB division leaders missing when ESPN returns flat standings structure 2026-06-11 17:40:21 +00:00
mls.test.ts Add MLS standings sync and fix simulator conference resolution (#423) 2026-05-14 15:39:40 -07:00
nba.test.ts Add WNBA playoff simulator with SRS-based Elo ratings, fixes #125 (#231) 2026-03-26 00:34:51 -07:00
nhl.test.ts Add regular season standings for NBA/NHL (fixes #89) (#192) 2026-03-21 00:12:01 -07:00
sync.test.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
wnba.test.ts Add WNBA playoff simulator with SRS-based Elo ratings, fixes #125 (#231) 2026-03-26 00:34:51 -07:00