fix(hooks/atlas): align completion behavior tests with task-4 timing updates

This commit is contained in:
YeonGyu-Kim
2026-05-11 13:49:36 +09:00
parent 1ebf89cb9f
commit de9c28a095
4 changed files with 15 additions and 8 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ describe("handleAtlasSessionIdle completion nudge", () => {
promptAsync: promptAsyncMock,
},
},
} as PluginInput
} as unknown as PluginInput
const sessionStateById = new Map<string, SessionState>()
const getState = (sessionId: string): SessionState => {
@@ -120,6 +120,6 @@ describe("handleAtlasSessionIdle completion nudge", () => {
const persistedState = getState(SESSION_ID)
expect(persistedState.boulderCompletionNudgedAt?.[workId]).toBeNumber()
expect(readBoulderState(testDirectory)?.works?.[workId]?.status).toBe("active")
expect(readBoulderState(testDirectory)?.works?.[workId]?.status).toBe("completed")
})
})