Skip to content

test(bounty): add test coverage for GFM table rendering and styling (#423) - #426

Open
PINYOPATTANAWASANPORN wants to merge 1 commit into
MergeFi:mainfrom
PINYOPATTANAWASANPORN:test/bountydescription-gfm-table-coverage-423
Open

PINYOPATTANAWASANPORN wants to merge 1 commit into
MergeFi:mainfrom
PINYOPATTANAWASANPORN:test/bountydescription-gfm-table-coverage-423

Conversation

@PINYOPATTANAWASANPORN

Copy link
Copy Markdown

Summary of Changes

Root Cause / Technical Context

Verification & Testing

  • Added unit test in src/components/bounty/BountyDescription.test.tsx:
    • renders GFM tables with custom table, thead, tbody, tr, th, and td styling (#257, #423):
      • Renders markdown table snippet with 2 columns and 1 data row.
      • Asserts presence of responsive .overflow-x-auto wrapper.
      • Asserts <table> element has min-w-full border-collapse text-sm.
      • Asserts <thead> and <th> elements have border-b border-slate-200 bg-slate-50 and px-3 py-2 font-medium.
      • Asserts <tbody>, <tr>, and <td> elements have expected content and cell paddings.

Closes #423

…ergeFi#423)

- Verify GFM markdown tables render real table, thead, tbody, tr, th, and td elements
- Assert presence of overflow-x-auto responsive wrapper container
- Assert custom design token styling classes on table headers, borders, and cells
@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

@PINYOPATTANAWASANPORN is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

BountyDescription.test.tsx still has no GFM table test, despite #272 (which named tables explicitly) being closed

1 participant