[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-07-20 07:15:39 +00:00
committed by GitHub
parent eb1f11b908
commit 6cbc7a0031

View File

@@ -69,9 +69,9 @@ describe("canAccessDockerOverWss", () => {
mockHasPermission.mockResolvedValue(false);
mockGetAccessibleServerIds.mockResolvedValue(new Set());
mockCheckServiceAccess.mockResolvedValue(undefined);
expect(await canAccessDockerOverWss(USER, SESSION, "srv-remote", "svc-1")).toBe(
true,
);
expect(
await canAccessDockerOverWss(USER, SESSION, "srv-remote", "svc-1"),
).toBe(true);
// Service path is authoritative — it must not fall through to docker/server.
expect(mockHasPermission).not.toHaveBeenCalled();
expect(mockGetAccessibleServerIds).not.toHaveBeenCalled();