dograh/ui/src/test/mocks/server.ts
Chris Briddock 20617db37a
Add Open AI Comatible API option in model configuration
Add unit tests for various UI components and context hooks

- Created tests for Progress, RadioGroup, Select, Separator, Sheet, Sidebar, Skeleton, Sonner, Switch, Table, Tabs, Textarea, Tooltip components.
- Implemented tests for UserConfigContext and other context hooks.
- Added utility tests for filters and utils functions.
- Set up MSW for API mocking in tests.
- Configured Vitest for testing environment with necessary setup.
2026-05-25 19:26:41 +01:00

4 lines
128 B
TypeScript

import { setupServer } from 'msw/node';
import { handlers } from './handlers';
export const server = setupServer(...handlers);