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. |
||
|---|---|---|
| .. | ||
| website.go | ||
| website_test.go | ||