Upgrade Jest to v29.7.0 to fix test environment issues

- Upgrade from Jest 27.5.1 to 29.7.0 to match webamp package version
- Add jest-environment-jsdom as direct dependency
- Fixes 'Cannot read properties of undefined (reading testEnvironmentOptions)' error
- pnpm's stricter isolation revealed version conflicts between packages
- Tests now run properly but some snapshots need updating due to format changes
This commit is contained in:
Jordan Eldredge 2025-07-06 14:33:36 -07:00
parent 64efd36834
commit a2497e17ac

View file

@ -29,7 +29,8 @@
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^4.3.0",
"events": "^3.3.0",
"jest": "^27.5.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^2.3.2",
"stream-browserify": "^3.0.0",
"typescript": "^5.3.3"