Tom Boucher
|
1efc74af51
|
refactor(tests): consolidate runtime converters, remove duplicate tests, standardize helpers (#1169)
Test consolidation:
- Merged gemini-config.test.cjs + opencode-agent-conversion.test.cjs
into runtime-converters.test.cjs (single file for small runtime converters)
- Removed 11 duplicate tests from core.test.cjs:
- 5 comparePhaseNum tests (authoritative copies in phase.test.cjs)
- 6 normalizePhaseName tests (authoritative copies in phase.test.cjs)
- Added note in core.test.cjs pointing to phase.test.cjs as canonical location
Standardization:
- core.test.cjs now uses createTempProject()/cleanup() from helpers.cjs
instead of inline fs.mkdtempSync/fs.rmSync patterns
File count: 21 → 19 test files
Test count: 755 → 744 (11 duplicates removed, 0 coverage lost)
|
2026-03-18 09:56:25 -06:00 |
|