Skip to content

Commit

Permalink
fix(UNSTABLE__pagination): add a11y and unit tests (#327)
Browse files Browse the repository at this point in the history
* fix(unstable-pagination): add initial tests for a11y, page size, and page select

* fix(unstable-pagination): add tests for next/previous buttons

* fix(unstable-pagination): add tests for totalitems, unknownpages, and diff text props

* chore(unstable-pagination): formatting and comment updates

* fix(unstable-pagination): add tab order test

* chore(unstable-pagination): fix test name

* fix(unstable-pagination): split up last test

* fix(pagination): use namespace vars in tests

* fix(unstable-pagination): remove duplicate dependency and update yarn lock

* chore: update testing-library/user-event version

* fix(unstable-pagination): rename test file, add tests for checking root class

* docs(unstable-pagination): add notes about testing page selector

* docs(unstable-pagination): update top-of-file comments

* fix(pagination): remove page selector test

* fix(unstable-pagination): add class name and spread attribute tests
  • Loading branch information
jendowns authored Feb 25, 2020
1 parent 989b1ad commit 9490e4f
Show file tree
Hide file tree
Showing 5 changed files with 460 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"@storybook/theming": "^5.2.4",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^8.0.3",
"@testing-library/user-event": "^8.1.0",
"autoprefixer": "^9.4.10",
"axe-core": "^3.4.1",
"babel-eslint": "^10.0.1",
Expand Down
Loading

0 comments on commit 9490e4f

Please sign in to comment.