test: harden browser chrome env test

This commit is contained in:
Peter Steinberger
2026-05-10 10:35:29 +01:00
parent aaf543360a
commit 58aeae5b66

View File

@@ -442,6 +442,8 @@ describe("chrome.ts internal", () => {
vi.stubEnv("HTTP_PROXY", "http://proxy.test:8080");
vi.stubEnv("HTTPS_PROXY", "http://proxy.test:8443");
vi.stubEnv("NO_PROXY", "localhost");
vi.stubEnv("XDG_CONFIG_HOME", undefined);
vi.stubEnv("XDG_CACHE_HOME", undefined);
// Set up a real HTTP server impersonating Chrome's /json/version.
await withMockChromeCdpServer({