Skip to content
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

Fix ignored addLeapWeekToMonth #55

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cihancimen
Copy link
Collaborator

No description provided.

@@ -1,4 +1,4 @@
export const lastDayNearestEOM445ArbitraryLeapYearWeeks = [
export const lastDayNearestEOM445Weeks = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

2023 is not a leap year, given that configuration. I am not sure how the tests passed in the first place.
The new unit test introduced in this PR covers, all addLeapWeekToMonth options, so this specific test is not needed to be run on leap year.

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