Skip to content

Commit

Permalink
fix(config/jest): add jest-environment-jsdom as a dependency
Browse files Browse the repository at this point in the history
Jest no longer bundles it as of 28.x... which makes sense as installing
JSDOM when we're using the default `testEnvironment` (`node`) is
pretty silly. For now I'm opting to continue bundling it for the sake
of simplicity, but we should probably consider modularizing
@hover/javascript in the future.
  • Loading branch information
jrolfs committed Sep 29, 2022
1 parent be54bb5 commit c81409e
Show file tree
Hide file tree
Showing 2 changed files with 483 additions and 13 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -83,6 +83,7 @@
"glob": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.3",
"jest-github-actions-reporter": "^1.0.3",
"jest-watch-typeahead": "^2.1.1",
"lint-staged": "^12.3.4",
Expand Down

0 comments on commit c81409e

Please sign in to comment.