Skip to content

Commit df1aeda

Browse files
hutzelknechtMichael Sinner
authored andcommitted
updated jsdom to 25.0.1 - to get rid of the DeprecationWarning in every test execution
1 parent 611d1a4 commit df1aeda

File tree

4 files changed

+123
-184
lines changed

4 files changed

+123
-184
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### Features
44

5+
- `[jest-environment-jsdom]` [**BREAKING**] Upgrade JSDOM to v25.0.1 ([#15417](https://github.com/jestjs/jest/pull/15417))
56
- `[babel-jest]` Add option `excludeJestPreset` to allow opting out of `babel-preset-jest` ([#15164](https://github.com/jestjs/jest/pull/15164))
67
- `[jest-circus, jest-cli, jest-config]` Add `waitNextEventLoopTurnForUnhandledRejectionEvents` flag to minimise performance impact of correct detection of unhandled promise rejections introduced in [#14315](https://github.com/jestjs/jest/pull/14315) ([#14681](https://github.com/jestjs/jest/pull/14681))
78
- `[jest-circus]` Add a `waitBeforeRetry` option to `jest.retryTimes` ([#14738](https://github.com/jestjs/jest/pull/14738))

packages/jest-environment-jsdom-abstract/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"@jest/environment": "workspace:*",
2323
"@jest/fake-timers": "workspace:*",
2424
"@jest/types": "workspace:*",
25-
"@types/jsdom": "^21.1.1",
25+
"@types/jsdom": "^21.1.7",
2626
"@types/node": "*",
2727
"jest-mock": "workspace:*",
2828
"jest-util": "workspace:*"
2929
},
3030
"devDependencies": {
31-
"jsdom": "^22.0.0"
31+
"jsdom": "^25.0.1"
3232
},
3333
"peerDependencies": {
3434
"canvas": "^2.5.0",

packages/jest-environment-jsdom/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"dependencies": {
2222
"@jest/environment": "workspace:*",
2323
"@jest/environment-jsdom-abstract": "workspace:*",
24-
"@types/jsdom": "^21.1.1",
24+
"@types/jsdom": "^21.1.7",
2525
"@types/node": "*",
26-
"jsdom": "^22.0.0"
26+
"jsdom": "^25.0.1"
2727
},
2828
"devDependencies": {
2929
"@jest/test-utils": "workspace:*"

0 commit comments

Comments
 (0)