fix: resolve CI test timeouts with configurable timing

- Add timing.ts module for test-only timing configuration
- Replace hardcoded wait times with getTimingConfig()
- Enable all previously skipped tests (ralph-loop, session-state, delegate-task)
- Tests now complete in ~2s instead of timing out
This commit is contained in:
justsisyphus
2026-01-28 14:17:56 +09:00
parent 1da0adcbe8
commit 6f348a8a5c
5 changed files with 87 additions and 32 deletions

View File

@@ -92,9 +92,8 @@ describe("claude-code-session-state", () => {
expect(getMainSessionID()).toBe(mainID)
})
test.skip("should return undefined when not set", () => {
// #given - not set
// TODO: Fix flaky test - parallel test execution causes state pollution
test("should return undefined when not set", () => {
// #given - state reset by beforeEach
// #then
expect(getMainSessionID()).toBeUndefined()
})