- Reduce CI reporters to prevent resource contention (removed json/html) - Optimize coverage settings with all:false and skipFull:true - Fix MSW waitForRequest memory leak by adding timeout and cleanup - Add teardownTimeout to vitest config - Add 10-minute timeout to GitHub Actions job - Create emergency test script without coverage for debugging The main issues were: 1. Coverage collection with multiple reporters causing exhaustion 2. MSW event listener that could hang indefinitely 3. Too many simultaneous reporters (4 at once) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
7 lines
326 B
Bash
Executable File
7 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
# Emergency script to run tests without coverage in CI if hanging persists
|
|
|
|
echo "Running tests without coverage to diagnose hanging issue..."
|
|
FEATURE_TEST_COVERAGE=false vitest run --reporter=default --reporter=junit
|
|
|
|
echo "Tests completed. If this works but regular test:ci hangs, the issue is coverage-related." |