Uh oh!
There was an error while loading. Please reload this page.
fix: update CalendarView test to match responsive classes - #695
Merged
hotlong merged 2 commits intoFeb 21, 2026
Merged
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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
hotlong
marked this pull request as ready for review
February 21, 2026 09:33
Uh oh!
There was an error while loading. Please reload this page.
Contributor
There was a problem hiding this comment.
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.tsxto expecttext-base sm:text-xl font-semiboldinstead oftext-xl font-semibold
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.toHaveClassassertion inCalendarView.test.tsxto expecttext-base sm:text-xl font-semiboldinstead oftext-xl font-semiboldOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.