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

🧪 test-fix: Update the test case to use the random month except the current month #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

balajis-qb
Copy link
Collaborator

@balajis-qb balajis-qb commented Nov 4, 2024

Closes Hacker0x01#5206

Description

As I described in the issue, currently the test cases are failing as in one of the test cases we try to select the month which is same as the current month. I fixed it by generating a random month other than the current month. This is just a test case update.

Screenshots

image

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

…urrent month

- Update the logic of selecting the current month as it won't call onMonthChange when we try to select the same month
@balajis-qb balajis-qb changed the title 🧪 test-fix: Update the test case to use the random month except the c… 🧪 test-fix: Update the test case to use the random month except the current month Nov 4, 2024
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.

calendar_test.test.tsx Test Case Issue
1 participant