vibetunnel/web/vitest.config.e2e.ts
Mario Zechner 5593ee39ef refactor: modularize server architecture and consolidate codebase
- Restructure server code into modular architecture under src/server/
  - middleware/: Authentication handling
  - pty/: PTY management consolidation
  - routes/: API endpoint handlers
  - services/: Core services (terminal, HQ, streaming)
- Consolidate 20+ scattered files into organized modules
- Replace unit/integration tests with comprehensive E2E testing
- Add spec.md as codebase navigation guide
- Update build paths for new CSS location (styles.css)
- Add chalk dependency for improved terminal output
- Simplify server entry point to use modular loader
- Update CLAUDE.md with spec.md regeneration instructions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 22:44:40 +02:00

18 lines
No EOL
456 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
globals: true,
environment: 'node',
// NO SETUP FILES - we want raw, unmocked environment
include: ['src/test/e2e/**/*.test.ts'],
testTimeout: 60000, // E2E tests need more time
hookTimeout: 30000, // Cleanup hooks need time too
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});