Skip to content

Commit a2497e1

Browse files
committed
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
1 parent 64efd36 commit a2497e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"eslint-plugin-react": "^7.16.0",
3030
"eslint-plugin-react-hooks": "^4.3.0",
3131
"events": "^3.3.0",
32-
"jest": "^27.5.1",
32+
"jest": "^29.7.0",
33+
"jest-environment-jsdom": "^29.7.0",
3334
"prettier": "^2.3.2",
3435
"stream-browserify": "^3.0.0",
3536
"typescript": "^5.3.3"

0 commit comments

Comments
 (0)