Skip to content

chore: remove unused test bindings - #357

Open
dormouse-bot wants to merge 1 commit into
mainfrom
chore/remove-unused-test-bindings
Open

chore: remove unused test bindings#357
dormouse-bot wants to merge 1 commit into
mainfrom
chore/remove-unused-test-bindings

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

Nightly survey turned up two unused bindings in test files. Both are pure dead-code removals with no behavioral change.

  • lib/src/components/wall/AgentBrowserPanel.test.tsx — dropped the unused type WallActions import. The file uses WallActionsContext and the stubActions helper, but never references the WallActions type directly.
  • server-lib-common/test/security-guarantees.test.mjs — dropped the unused server binding from the every connection requires fresh user presence test's destructure. That test drives everything through client.buildConnectRequest(...), host.handleConnect(...), and host.issueChallenge(); server appeared only in a comment.

No regression test — there's no behavior to guard, only unused symbols removed. Verified the affected suites still pass locally: AgentBrowserPanel.test.tsx (22 passed) and security-guarantees.test.mjs (10 passed).

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 05faedb
Status: ✅  Deploy successful!
Preview URL: https://11a29ea8.mouseterm.pages.dev
Branch Preview URL: https://chore-remove-unused-test-bin.mouseterm.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant