Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unit Tests: Fix selecting hidden dates #11265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 30, 2025
Merged

Conversation

Anu6is
Copy link
Contributor

@Anu6is Anu6is commented Apr 30, 2025

Description

If the first day of a given month starts on any day other than a Sunday, the calendar will contain hidden dates from the end of the previous month. Some test cases select the first occurrence of a date by number. Sometimes that date may be a hidden date from the previous month. Unit tests should filter out these dates when selecting a date.

Fixes failing tests in the following PRs:

How Has This Been Tested?

Retried failing test

Checklist

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@digitaldirk
Copy link
Contributor

Thanks @Anu6is :)

Copy link

codecov bot commented Apr 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.10%. Comparing base (e2af2f9) to head (b94b094).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #11265   +/-   ##
=======================================
  Coverage   91.09%   91.10%           
=======================================
  Files         439      439           
  Lines       14235    14235           
  Branches     2759     2759           
=======================================
+ Hits        12968    12969    +1     
  Misses        638      638           
+ Partials      629      628    -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.

@ScarletKuro ScarletKuro merged commit 7717604 into MudBlazor:dev Apr 30, 2025
6 checks passed
@Anu6is Anu6is deleted the UnitTestFix branch April 30, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants