ec7ebd7013
Project map had drifted: claimed recharts unused (was used), ObservabilityPage.tsx
exists (refactored to service-tabs/), missed JellyfinNowPlayingWidget +
authentik/backups service types. Regenerate to reflect post-change reality:
new Qbittorrent/LineSeriesChart/Prometheus{Gauge,Mean}Widget files,
service_data.py/qbittorrent_store.py, canonical prometheus-charting +
service-storage specs, archived changes.
894 B
894 B
frontend/src/test
dir: frontend/src/test
index: frontend/src/test/.pi-map.index.md
role
Provides test infrastructure configuration and environment setup for the frontend's Vitest-based unit testing framework.
files
- setup.ts | Configures Vitest global test environment by registering jest-dom matchers and polyfilling missing jsdom APIs for Radix/shadcn UI component testing. | exp: class:ResizeObserverStub, method:observe(), method:unobserve(), method:disconnect() | dep: @testing-library/jest-dom/vitest, vitest, jsdom
arch
Bootstrap/configuration module pattern that extends the jsdom environment with custom polyfills and DOM assertion matchers to support UI component testing.
tags
vitest, jest, dom, jsdom, resize, observer, stub, observe
symbols
- ResizeObserverStub
- observe
- unobserve
- disconnect
workflows
- change test behavior read: setup.ts