Skip to content

fix: update CalendarView test to match responsive classes - #695

Merged
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-5419842a-8027-499a-bf5a-936777e511ed
Feb 21, 2026
Merged

fix: update CalendarView test to match responsive classes#695
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-5419842a-8027-499a-bf5a-936777e511ed

Conversation

CopilotAI commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

CalendarView's date picker trigger was updated to use responsive Tailwind classes (text-base sm:text-xl) but the test assertion wasn't updated, breaking CI.

  • Updated toHaveClass assertion in CalendarView.test.tsx to expect text-base sm:text-xl font-semibold instead of text-xl font-semibold
Original prompt

fix ci errors


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel

vercelBot commented Feb 21, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
objectuiReadyReadyPreview, CommentFeb 21, 2026 9:29am
objectui-demoReadyReadyPreview, CommentFeb 21, 2026 9:29am
objectui-storybookReadyReadyPreview, CommentFeb 21, 2026 9:29am

Request Review

…sm:text-xl)
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
CopilotAI changed the title [WIP] Fix CI errors in the build processfix: update CalendarView test to match responsive classesFeb 21, 2026
CopilotAI requested a review from hotlongFebruary 21, 2026 09:24
@hotlong
hotlong marked this pull request as ready for review February 21, 2026 09:33
CopilotAI review requested due to automatic review settings February 21, 2026 09:33
@hotlong
hotlong merged commit 3198c40 into mainFeb 21, 2026
5 checks passed

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a failing test in the CalendarView component by updating the test assertion to match the responsive Tailwind classes that were previously applied to the date picker trigger button. The component was updated to use mobile-first responsive typography (text-base sm:text-xl) instead of a fixed text size (text-xl), but the corresponding test wasn't updated, causing CI failures.

Changes:

  • Updated test assertion in CalendarView.test.tsx to expect text-base sm:text-xl font-semibold instead of text-xl font-semibold

Sign up for freeto 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.

3 participants

@hotlong