Skip to content

fix: test: touch-target tests read --ca-touch-target instead of hard-coding 44 - #657

Merged
mvilacad merged 3 commits into
mainfrom
fix/650-test-touch-target-tests-read-ca
Oct 26, 2026
Merged

mvilacad merged 3 commits into
mainfrom
fix/650-test-touch-target-tests-read-ca

Conversation

@mvilacad

Copy link
Copy Markdown
Contributor

Closes #650

Regression test (written first)

  • Test reproduces the problem and fails on main (paste the failing output)
  • Same test passes with the fix

Change

Checklist

  • bun run validate passes
  • Changeset (bun changeset) if the published package changes
  • Docs updated if behavior or API changed

…eral 44

Helpers touchTarget() (packages/ui/tests, browser) and touchTarget(page) (site/tests) resolve the token; 13 component tests, responsive/webkit specs and the layout audit use them. Fail before: the new source guard lists 27 literal-44 comparisons; pass after. Closes #650
@mvilacad
mvilacad force-pushed the fix/650-test-touch-target-tests-read-ca branch from 9bef79d to 6e7d1d1 Compare October 26, 2026 00:47
@mvilacad
mvilacad marked this pull request as ready for review October 26, 2026 00:47
@mvilacad
mvilacad merged commit 03f4719 into main Oct 26, 2026
@mvilacad
mvilacad deleted the fix/650-test-touch-target-tests-read-ca branch October 26, 2026 00:47
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.

test: touch-target tests read --ca-touch-target instead of hard-coding 44

1 participant