Skip to content

test: cover CommitmentDetailNftSection callbacks#605

Open
jakerated-r wants to merge 1 commit into
Commitlabs-Org:masterfrom
jakerated-r:feature/nft-section-tests-591
Open

test: cover CommitmentDetailNftSection callbacks#605
jakerated-r wants to merge 1 commit into
Commitlabs-Org:masterfrom
jakerated-r:feature/nft-section-tests-591

Conversation

@jakerated-r

Copy link
Copy Markdown

Summary

  • add RTL coverage for CommitmentDetailNftSection NFT metadata rendering
  • verify long-address truncation, empty mint-date stability, accessible copy/action controls, and all callback paths
  • cover repeated copy clicks without firing neighboring callbacks

Validation

  • npm ci
  • npm test -- --run src/components/tests/CommitmentDetailNftSection.test.tsx
  • git diff --check

Repo-wide test status

  • npm test -- --run is currently red on unrelated existing failures, including duplicate declarations in src/lib/backend/validation.ts, src/lib/backend/services/contracts.ts, and src/lib/backend/auditLog.ts; invalid JSX in src/components/modals/CommitmentDetailsModal.tsx; missing @testing-library/user-event; jest usage in a Vitest file; and existing tests without DOM environments.

Refs #591

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@jakerated-r is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

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