0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. oh-my-pi
  2. /
  3. packages
  4. /
  5. ai
  6. /
  7. test
  8. /
  9. helpers
Ccan1357test: replaced real timers and sleeps with deterministic test hooks
90b134ca创建于 15 天前历史提交
文件最后提交记录最后更新时间
index.ts
test: replaced real timers and sleeps with deterministic test hooks - Added providerRetryWait and retryWait hooks to stream/usage options so tests bypass real scheduler delays. - Parameterized GitHub Copilot poll intervals and Copilot model retry base delay for fast test execution. - Replaced Bun.sleep/setTimeout polling loops with AbortSignal event listeners in agent session tests. - Consolidated auth-gateway E2E helpers into a shared test/helpers module, eliminating duplicated checkGatewayAvailable implementations. - Migrated credential-disabled tests from SQLite-backed stores to an in-memory store, removing temp-dir lifecycle overhead. 15 天前