Skip to content

Commit

Permalink
chore: add @testing-library/jest-dom, update related deps
Browse files Browse the repository at this point in the history
- Note: using `npm install --save-dev` will also sort dependencies
automatically.

add:

- @testing-library/jest-dom
  - Need to import in test/helpers.js:
    https://github.com/testing-library/jest-dom#installation
  - Need to use `setupFilesAfterEnv` instead:
    testing-library/jest-dom#122

update:

- axe-core
- jest, @types/jest
  - When upgrading to v27, we need to explicitly specify jsdom env:
    https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults
- @testing-library/react
- @testing-library/react-hooks
- @testing-library/user-event

squash
  • Loading branch information
darreneng committed Dec 30, 2021
1 parent db709c7 commit 332e0bc
Show file tree
Hide file tree
Showing 3 changed files with 67,733 additions and 20,202 deletions.
Loading

0 comments on commit 332e0bc

Please sign in to comment.