Borg/pkg
google-labs-jules[bot] a8dc55aba5 fix: Correct mock data and test environment handling
This commit addresses several issues in the testing framework:

- Corrected a malformed URL in the mock response data in `pkg/github/github.go`.
- Fixed a bug in the mock HTTP client in `pkg/mocks/http.go` where the response body was being exhausted after the first read. The client now returns a deep copy of the response for each call.
- Refactored the environment variable handling in `TDD/collect_commands_test.go` to use `t.Setenv`, ensuring proper cleanup after the test.
2025-11-02 18:46:09 +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 fix: Correct mock data and test environment handling 2025-11-02 18:46:09 +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 feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00