Borg/pkg
google-labs-jules[bot] 19431ed23d refactor: Improve test suite and mocking implementation
This commit refactors the test suite and mocking implementation based on user feedback.

- The mock HTTP client in `pkg/mocks/http.go` has been made thread-safe.
- The `pkg/website/website.go` package has been refactored to use dependency injection for the HTTP client.
- The tests in `TDD/collect_commands_test.go` have been updated to use separate buffers for stdout and stderr, and to use a local test server for the `collect website` command.
2025-11-02 20:03:32 +00:00
..
compress feat: Add optional compression to collect commands 2025-11-02 13:27:04 +00:00
datanode feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
github fix: Correct mock data and test environment handling 2025-11-02 18:46:09 +00:00
logger feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
matrix feat: Add Terminal Isolation Matrix feature 2025-11-02 12:39:46 +00:00
mocks refactor: Improve test suite and mocking implementation 2025-11-02 20:03:32 +00:00
pwa feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
tarfs feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
ui feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
vcs feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
website refactor: Improve test suite and mocking implementation 2025-11-02 20:03:32 +00:00