mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
## Description Adds test helper functions to reduce boilerplate in `aibridgeproxyd` tests: * `newTestProxy`: creates a proxy server with functional options, waits for it to be ready * `newProxyClient`: creates an HTTP client configured to use the proxy * `newTargetServer`: creates a mock HTTPS server and returns its URL Related to: https://github.com/coder/coder/pull/21344#discussion_r2638930199