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

Write more unit tests #14

Closed
12 tasks done
wojtekmaj opened this issue Nov 30, 2017 · 0 comments
Closed
12 tasks done

Write more unit tests #14

wojtekmaj opened this issue Nov 30, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@wojtekmaj
Copy link
Owner

wojtekmaj commented Nov 30, 2017

  • Calendar
    • displays a view with a given value when value is given
    • displays a view with activeStartDate when no value is given and activeStartDate is given
    • displays a view with today's date when no value and no activeStartDate is given
  • MonthView, YearView, DecadeView, CenturyView
    • renders proper view when given activeStartDate
    • applies tileClassName to its tiles when given a string
    • applies tileClassName to its tiles conditionally when given a function that returns a string
    • renders tileContent in its tiles when given a node
    • renders tileContent in its tiles conditionally when given a function that returns a node
  • WeekNumbers
    • renders static divs as children when not given onClickWeekNumber
    • renders buttons as children when given onClickWeekNumber
    • calls onClickWeekNumber function with proper arguments when clicked a week number (ISO 8601)
    • calls onClickWeekNumber function with proper arguments when clicked a week number (US)
@wojtekmaj wojtekmaj self-assigned this Nov 30, 2017
@wojtekmaj wojtekmaj added the enhancement New feature or request label Nov 30, 2017
@wojtekmaj wojtekmaj added this to the 2.6.0 milestone Dec 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant