Files
clawport-ui/vitest.config.ts
JohnRiceMLandClaude Opus 4.6 28c4269539 feat: security hardening, UX/UI overhaul, test infrastructure
- Fix XSS in memory browser (escape-first markdown pipeline)
- Add API input validation with discriminated union returns
- Fix chat race condition with useRef for message freshness
- Wire up agent search filtering in chat sidebar
- Remove debug logging, add proper error responses to all API routes
- Fix NavLinks silent error swallowing
- Handle overdue cron timestamps
- Extract agent registry to JSON config
- Remove unused @anthropic-ai/sdk dependency
- Set up Vitest with 68 tests (conversations, agents, crons)
- Add skeleton loaders, ErrorState component, keyboard navigation
- Add responsive mobile sidebar with hamburger menu
- Add ARIA labels, roles, prefers-reduced-motion support
- Fix broken CSS vars in agent detail page
- Replace hardcoded colors with theme variables
- Define typography scale (--text-xs through --text-4xl)
- Move inline hover styles to CSS classes
- Polish light theme shadows and accent contrast
- Add shimmer/slideDown animations, code block copy button

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 13:40:20 -06:00

18 lines
375 B
TypeScript

import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './'),
},
},
test: {
environment: 'jsdom',
include: ['**/*.test.ts', '**/*.test.tsx'],
exclude: ['node_modules', '.next'],
},
})