Skip to content

Commit

Permalink
updated jsdom to 25.0.1 - to get rid of the DeprecationWarning in eve…
Browse files Browse the repository at this point in the history
…ry test execution
  • Loading branch information
hutzelknecht authored and Michael Sinner committed Dec 10, 2024
1 parent 611d1a4 commit df1aeda
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 184 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### Features

- `[jest-environment-jsdom]` [**BREAKING**] Upgrade JSDOM to v25.0.1 ([#15417](https://github.com/jestjs/jest/pull/15417))
- `[babel-jest]` Add option `excludeJestPreset` to allow opting out of `babel-preset-jest` ([#15164](https://github.com/jestjs/jest/pull/15164))
- `[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))
- `[jest-circus]` Add a `waitBeforeRetry` option to `jest.retryTimes` ([#14738](https://github.com/jestjs/jest/pull/14738))
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-environment-jsdom-abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@jest/environment": "workspace:*",
"@jest/fake-timers": "workspace:*",
"@jest/types": "workspace:*",
"@types/jsdom": "^21.1.1",
"@types/jsdom": "^21.1.7",
"@types/node": "*",
"jest-mock": "workspace:*",
"jest-util": "workspace:*"
},
"devDependencies": {
"jsdom": "^22.0.0"
"jsdom": "^25.0.1"
},
"peerDependencies": {
"canvas": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"dependencies": {
"@jest/environment": "workspace:*",
"@jest/environment-jsdom-abstract": "workspace:*",
"@types/jsdom": "^21.1.1",
"@types/jsdom": "^21.1.7",
"@types/node": "*",
"jsdom": "^22.0.0"
"jsdom": "^25.0.1"
},
"devDependencies": {
"@jest/test-utils": "workspace:*"
Expand Down
Loading

0 comments on commit df1aeda

Please sign in to comment.