mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
- process.test: every AppProcess test spawns a real child, so run them with it.live. Under TestClock the spawner's 1s post-exit capture deadline never fired, and a late close event hung until the timeout. - browser-idle: give LocationActivity its own clock and advance it by the TTL only after the first browser state attached, instead of racing a real 2s TTL against slow plugin activation. - config/reload: wait for the skills change too before asserting it. - Raise the four file-level 15s defaults to the runner's 30s default; they had become the strictest timeouts in the suite. - The runner passes --timeout=30000 like cli and tui; npm.test's Git installs ran past Bun's 5s default on Windows. - Git fixtures write repo-local settings in one config write instead of a git config spawn per setting. Git for Windows spawns cost about 40ms each, and core spawned about 2,850 per run. |
||
|---|---|---|
| .. | ||
| filesystem.test.ts | ||
| location-watcher-policy.test.ts | ||
| search.test.ts | ||
| watcher.test.ts | ||