Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: harden provider-status and workspace symlink tests for Windows

2 months ago

322747c
Authored
Max Weinbach7/13/2026, 11:11:50 PM
- providerStatus.test.ts made real HTTP requests to the LM Studio endpoint
  (and read the developer's process.env) because fetchImpl/env were never
  injected; wrap every call in statusTestOptions() with a rejecting fetch
  stub and empty env so the file is offline and hermetic.
- Two workspace tests created 'dir' symlinks, which require Developer Mode
  or elevation on Windows and fail with EPERM otherwise; use the junction
  fallback the same files already use at their other symlink sites.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parent1d7277f

3 files changed
  • test/jsonrpc.task-workspace-subscription.test.ts+5−1
  • test/providerStatus.test.ts+45−21
  • test/workspace.catalog.test.ts+1−1