Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

test: retain Camoufox abort callback contract

Abdurrahman Fakhrul0bcb474b63b3
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 5c422710..a1996106 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -23,6 +23,10 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
- `frontend` allow relinking recovered media
- `frontend` protect workspace and media sessions
+**Tests**
+
+- retain Camoufox abort callback contract
+
**Docs**
- reconcile all frontend audit findings
diff --git a/frontend/slices/camoufox-browser/connection-state.test.ts b/frontend/slices/camoufox-browser/connection-state.test.ts
index a00730d5..1dc44ce2 100644
--- a/frontend/slices/camoufox-browser/connection-state.test.ts
+++ b/frontend/slices/camoufox-browser/connection-state.test.ts
@@ -14,5 +14,6 @@ it("retries only the read-only connection path and observes real polled power st
expect(retry).toContain("await connect(controller.signal)");
expect(retry).not.toContain("setPower(");
expect(source).toContain("onClick={() => void retryConnection()}>Retry connection");
- expect(source).toContain("waitForViewer(signal, 30_000, setStatus)");
+ expect(source).toContain("waitForViewer(signal, 30_000,");
+ expect(source).toContain("if (!signal.aborted) setStatus(next)");
});