test(browser): align loopback reachability expectations

This commit is contained in:
Mason Huang
2026-04-14 12:54:23 +08:00
parent f6971d6f28
commit bea9f6e8e6

View File

@@ -76,17 +76,13 @@ describe("browser server-context ensureBrowserAvailable", () => {
1,
"http://127.0.0.1:18800",
PROFILE_HTTP_REACHABILITY_TIMEOUT_MS,
{
allowPrivateNetwork: true,
},
undefined,
);
expect(isChromeReachable).toHaveBeenNthCalledWith(
2,
"http://127.0.0.1:18800",
PROFILE_ATTACH_RETRY_TIMEOUT_MS,
{
allowPrivateNetwork: true,
},
undefined,
);
expect(launchOpenClawChrome).not.toHaveBeenCalled();
expect(stopOpenClawChrome).not.toHaveBeenCalled();