opencode/packages/core/test/filesystem
Filip Hejmowski e4243dbc8c test(core): fix load-sensitive tests and spawn fewer git processes
- 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.
2026-10-15 22:11:30 +02:00
..
filesystem.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
location-watcher-policy.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
search.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
watcher.test.ts test(core): fix load-sensitive tests and spawn fewer git processes 2026-10-15 22:11:30 +02:00