Files
botfights/vitest.workspace.ts
DorianandClaude Opus 4.6 d9e32123fe test: add test infrastructure for frontend and server
- Frontend: vitest.config.ts with vue plugin + jsdom, dummy component test
- Server: in-memory SQLite test DB factory + Hono testClient helper + smoke test
- CI: add pnpm audit and server coverage threshold steps
- Root: vitest workspace config for multi-project test discovery

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:30:43 +00:00

12 lines
210 B
TypeScript

import { defineWorkspace } from 'vitest/config'
export default defineWorkspace([
{
test: {
name: 'server',
include: ['server/src/**/*.test.ts'],
},
},
'frontend/vitest.config.ts',
])