mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-16 18:34:18 +00:00
test: harden browser chrome env test
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user