2 Commits

Author SHA1 Message Date
czlonkowski
bd208e71f8 fix: override test-related types in tsconfig.build.json for Docker builds
- Override the 'types' array to only include 'node' types
- Exclude 'types' directory and any nested types directories from build
- Add comment explaining the types override rationale
- This prevents TypeScript from looking for vitest/globals and test-env types

The issue was that tsconfig.build.json was inheriting test-related type
definitions from tsconfig.json which aren't available in the minimal
Docker build environment.

Code reviewed and enhanced based on suggestions:
- Added '**/types' to exclude pattern for comprehensive exclusion
- Added explanatory comment for future maintainers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 10:18:29 +02:00
czlonkowski
aa3b2a8460 test: migrate from Jest to Vitest (Phase 1 complete)
- Remove Jest and all related packages
- Install Vitest with coverage support
- Create vitest.config.ts with path aliases
- Set up global test configuration
- Migrate all 6 test files to Vitest syntax
- Update TypeScript configuration for better Vitest support
- Create separate tsconfig.build.json for clean builds
- Fix all import/module issues in tests
- All 68 tests passing successfully
- Current coverage baseline: 2.45%

Phase 1 of testing suite improvement complete.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 13:05:38 +02:00