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
add integration tests on expandable calendar #2081
Conversation
@yuvalsho expandableCalendar tests faild |
expect(onDateChanged).toHaveBeenCalledWith(toMarkingFormat(expectedDate), UpdateSources.PAGE_SCROLL); | ||
}); | ||
|
||
it(`should call onDateChanged for first day of current week when changing to current week`, () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand this test... you pressing the right arrow, then the left arrow, and expect the date returned to be the first day of the current week, when the initial date was not the first day of the week. Right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, when I initially wrote the test I remembered we returned to today when we scrolled to this week, but after we talked I understood this was not the expected behavior and changed to the correct behavior
…dd-integration-tests-expandable-calendar
No description provided.