litellm/ui
Abhimanyu Kapur 77b5e45544 test(ui): mock useIsOrgAdmin in cost-optimization view tests
Upstream 255d65192e gated the view's tabs behind useCan, which chains
useAuthorized -> useIsOrgAdmin -> useOrganizations -> useQuery, so the
two view test files now die with 'No QueryClient set' before asserting
anything. Mock useIsOrgAdmin (and useAuthorized in the activity test)
at the boundary the component actually reads; the tests assert tab
behavior, not org-admin resolution. These fail on staging's own full
suite runs too — this fixes the slice that our PR's related-tests job
runs.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-10 20:33:35 -07:00
..
litellm-dashboard test(ui): mock useIsOrgAdmin in cost-optimization view tests 2026-08-10 20:33:35 -07:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00