Skip to content

Conversation

@martijnrusschen
Copy link
Member

Summary

  • Add tests documenting the expected behavior for month picker range selection across year boundaries
  • Verify that keyboard-selected class only appears when preSelection is in the same year as displayed
  • Verify that in-selecting-range class correctly respects year boundaries
  • Verify multi-year ranges correctly highlight only the months within the viewed year

These tests confirm that #5637 is working as intended. The month picker correctly handles year boundaries for both keyboard selection and range highlighting.

Test plan

  • All new tests pass
  • Existing tests still pass

Refs #5637

🤖 Generated with Claude Code

…ction

Add tests to document and verify the expected behavior when selecting
month ranges across year boundaries:

- Verify keyboard-selected class only appears when preSelection is in
  the same year as the displayed month picker
- Verify in-selecting-range class respects year boundaries
- Verify multi-year ranges correctly highlight months in the viewed year

These tests confirm that #5637 is working as intended - the month picker
correctly handles year boundaries for both keyboard selection and range
highlighting.

Refs #5637

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.31%. Comparing base (1e9e151) to head (a179f15).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6171      +/-   ##
==========================================
+ Coverage   99.26%   99.31%   +0.05%     
==========================================
  Files          30       30              
  Lines        3801     3801              
  Branches     1652     1655       +3     
==========================================
+ Hits         3773     3775       +2     
+ Misses         27       25       -2     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@martijnrusschen martijnrusschen merged commit df8a91d into main Dec 18, 2025
6 checks passed
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.

2 participants