Skip to content

test: remove fork ref query assertion - #2141

Open
unohq[bot] wants to merge 1 commit into
mainfrom
uno/remove-fork-ref-query-assertion-58
Open

unohq[bot] wants to merge 1 commit into
mainfrom
uno/remove-fork-ref-query-assertion-58

Conversation

@unohq

@unohq unohq Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • use the query bound to the render result in the useForkRef test
  • remove the unnecessary HTMLElement assertion and unused global query import

Verification

  • pnpm --dir packages/rooks exec vitest run src/__tests__/useForkRef.spec.tsx (2 tests passed)
  • pnpm exec tsc --noEmit -p packages/rooks/tsconfig.json
  • pnpm --dir packages/rooks exec eslint src/__tests__/useForkRef.spec.tsx (0 errors, 1 pre-existing warning)
  • pnpm exec prettier --check packages/rooks/src/__tests__/useForkRef.spec.tsx

@codesandbox

codesandbox Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web Editor • VS Code • Insiders

Open Preview

@vercel

vercel Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rooks Ready Ready Preview Aug 20, 2026 5:15am

@unohq
unohq Bot marked this pull request as ready for review August 20, 2026 05:13
@mergify

mergify Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

This branch was successfully deployed

1 active deployment
Preview — af615e97 Deployed Aug 20, 2026 by vercel[bot]
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.

0 participants