# frontend/src/test dir: frontend/src/test index: frontend/src/test/.pi-map.index.md ## role Provides test infrastructure configuration for the frontend's Vitest testing environment. ## 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 Setup module pattern that extends Vitest's global matchers with jest-dom and polyfills jsdom gaps for UI component compatibility. ## tags vitest, jest, dom, jsdom, resize, observer, stub, observe ## symbols - ResizeObserverStub - observe - unobserve - disconnect ## workflows - change test behavior read: setup.ts ## dirty -