Tests using config.Initialize() pick up the real .beads/config.yaml (e.g., sync.mode=dolt-native) which leaks into JSONL export tests. Extract initConfigForTest(t) with t.Cleanup(config.ResetForTesting) to isolate test config state. Also fix Result -> BatchResult type rename in compactor_unit_test.go. Fixes 17 pre-existing test failures caused by config bleed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| compactor.go | ||
| compactor_test.go | ||
| compactor_unit_test.go | ||
| git.go | ||
| git_test.go | ||
| haiku.go | ||
| haiku_test.go | ||