Skip to content

Commit

Permalink
fix9Datepicker tests (#807)
Browse files Browse the repository at this point in the history
* test(date picker): wip - add tests for datepicker

* fix(datepicker): add basic tests for datepicker with default config

This PR adds tests for all functionality of the datepicker with
default config options. This includes keyboard navigation
and axe accessibility checks.

During testing a couple of small issues were found and fixed:
 * Date was initialized with an odd format order causing
issues during testing
 * Calculation of the first and last day of the week was
incorreect when the last day of the week was a Sunday
  • Loading branch information
chrispymm authored Oct 1, 2024
1 parent caf8275 commit 4f74c30
Show file tree
Hide file tree
Showing 4 changed files with 1,145 additions and 70 deletions.
Loading

0 comments on commit 4f74c30

Please sign in to comment.