litellm/ui
yuneng-jiang 1c1c84974f [Test] UI - Add vitest unit tests for Teams, Models, and Usage components
Add v8-coverage-targeted unit tests for 5 previously untested files across
the Teams, Models + Endpoints, and Usage workflows:

- value_formatters.test.ts: full branch coverage of valueFormatter and
  valueFormatterSpend (M/k/plain formatting, zero-value edge cases)
- DeleteTeamModal.test.tsx: confirmation input validation, key-count warning
  singular/plural, onConfirm/onCancel callbacks, input reset on cancel
- TeamsFilters.test.tsx: search input binding, Filters toggle, Reset callback,
  additional-filters visibility, active-filter dot indicator
- ModelsCell.test.tsx: empty/single/overflow model rendering, truncation at
  30 chars, accordion expand/collapse, all-proxy-models badge in overflow
- ModelRetrySettingsTab.test.tsx: global vs model-scope headings, defaultRetry
  fallback chain, setGlobalRetryPolicy/setModelGroupRetryPolicy updater
  functions, Save button callback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 10:43:16 -08:00
..
litellm-dashboard [Test] UI - Add vitest unit tests for Teams, Models, and Usage components 2026-02-20 10:43:16 -08:00