Skip to content

Commit c72fdf3

Browse files
committed
fix(config/jest): add jest-environment-jsdom as a dependency
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.
1 parent 5eb2c8d commit c72fdf3

File tree

2 files changed

+638
-21
lines changed

2 files changed

+638
-21
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"glob": "^8.0.3",
8585
"is-ci": "^3.0.1",
8686
"jest": "^29.0.2",
87+
"jest-environment-jsdom": "^29.0.3",
8788
"jest-github-actions-reporter": "^1.0.3",
8889
"jest-watch-typeahead": "^2.1.1",
8990
"lint-staged": "^12.3.4",

0 commit comments

Comments
 (0)