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:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user