chore: keep gate green

This commit is contained in:
Peter Steinberger committed 2026-01-11 04:42:44 +01:00
1 parent 0b2ff4cfd9
commit 7343597075
2 files changed
+43 -33

No files matched your search

+9 -7
View File
@@ -636,13 +636,15 @@ describe("doctor", () => {
expect(
note.mock.calls.some(
([message, title]) =>
title === "Sandbox" &&
typeof message === "string" &&
message
.replace(/\s+/g, " ")
.includes('agents.list (id "work") sandbox docker') &&
message.replace(/\s+/g, " ").includes('scope resolves to "shared"'),
([message, title]) => {
if (title !== "Sandbox") return false;
if (typeof message !== "string") return false;
const normalized = message.replace(/\s+/g, " ");
return (
normalized.includes('agents.list (id "work") sandbox docker') &&
normalized.includes('scope resolves to "shared"')
);
},
),
).toBe(true);
});