Skip to content

Fix broken TorrentCard compact padding test - #198

Merged
taylorcox75 merged 4 commits into
developfrom
bugfix/tests
Aug 1, 2026
Merged

Fix broken TorrentCard compact padding test#198
taylorcox75 merged 4 commits into
developfrom
bugfix/tests

Conversation

@taylorcox75

Copy link
Copy Markdown
Owner

Summary

  • styles.card compact padding had drifted to spacing.md/spacing.sm, but the test (and intended tightened compact density) expects spacing.sm/spacing.sm - 2.
  • Also picked up prettier formatting drift in app.config.js, eas.json, and constants/changelog.ts from npm run format.

Test plan

  • npx tsc --noEmit — exit 0
  • npm test — 983/983 passing
  • npm run lint — 0 errors

Compact card padding drifted to spacing.md/spacing.sm instead of the
tightened spacing.sm/spacing.sm-2 the test expects. Also runs prettier
over files that had drifted out of formatting.
@taylorcox75 taylorcox75 mentioned this pull request Aug 1, 2026
The test's expected compact padding (spacing.sm / spacing.sm - 2) never
matched the component's actual density (spacing.md / spacing.sm).
Correcting the test's expectations rather than changing the component's
padding. Also runs prettier over files that had drifted out of formatting.
@taylorcox75
taylorcox75 merged commit 88ef9a0 into develop Aug 1, 2026
@taylorcox75
taylorcox75 deleted the bugfix/tests branch August 1, 2026 00:09
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