mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:10:42 +00:00
test: clarify sandbox browser audit assertion
This commit is contained in:
@@ -115,8 +115,8 @@ describe("security audit sandbox browser findings", () => {
|
||||
},
|
||||
},
|
||||
} satisfies OpenClawConfig);
|
||||
expect(findings.some((f) => f.checkId === "sandbox.browser_cdp_bridge_unrestricted")).toBe(
|
||||
false,
|
||||
expect(findings.map((finding) => finding.checkId)).not.toContain(
|
||||
"sandbox.browser_cdp_bridge_unrestricted",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user