Skip to content

Commit

Permalink
feat(cozy-viewer): Replace jsdom-sixteen package
Browse files Browse the repository at this point in the history
  • Loading branch information
Merkur39 committed Dec 23, 2024
1 parent 321ac85 commit 4e70b47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/cozy-viewer/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
testPathIgnorePatterns: ['node_modules', 'dist'],
testEnvironment: 'jest-environment-jsdom-sixteen',
testEnvironment: 'jest-environment-jsdom',
testURL: 'http://localhost/',
moduleFileExtensions: ['js', 'jsx', 'json', 'styl', 'ts', 'tsx'],
moduleDirectories: ['src', 'node_modules'],
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"identity-obj-proxy": "3.0.0",
"jest": "26.6.3",
"jest-canvas-mock": "2.3.1",
"jest-environment-jsdom-sixteen": "2.0.0",
"jest-environment-jsdom": "26.6.2",
"prop-types": "15.8.1",
"react-dom": "16.12.0",
"react-test-renderer": "16.12.0",
Expand Down
32 changes: 11 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17167,15 +17167,18 @@ [email protected], jest-environment-jsdom-sixteen@^1.0.3:
jest-util "^25.1.0"
jsdom "^16.2.1"

jest-environment-jsdom[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom-sixteen/-/jest-environment-jsdom-sixteen-2.0.0.tgz#0f8c12663ccd9836d248574decffc575bfb091e1"
integrity sha512-BF+8P67aEJcd78TQzwSb9P4a73cArOWb5KgqI8eU6cHRWDIJdDRE8XTeZAmOuDSDhKpuEXjKkXwWB3GOJvqHJQ==
jest-environment-jsdom@26.6.2, jest-environment-jsdom@^26.6.2:
version "26.6.2"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e"
integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==
dependencies:
"@jest/fake-timers" "^25.1.0"
jest-mock "^25.1.0"
jest-util "^25.1.0"
jsdom "^16.2.1"
"@jest/environment" "^26.6.2"
"@jest/fake-timers" "^26.6.2"
"@jest/types" "^26.6.2"
"@types/node" "*"
jest-mock "^26.6.2"
jest-util "^26.6.2"
jsdom "^16.4.0"

jest-environment-jsdom@^24.9.0:
version "24.9.0"
Expand All @@ -17188,19 +17191,6 @@ jest-environment-jsdom@^24.9.0:
jest-util "^24.9.0"
jsdom "^11.5.1"

jest-environment-jsdom@^26.6.2:
version "26.6.2"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e"
integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==
dependencies:
"@jest/environment" "^26.6.2"
"@jest/fake-timers" "^26.6.2"
"@jest/types" "^26.6.2"
"@types/node" "*"
jest-mock "^26.6.2"
jest-util "^26.6.2"
jsdom "^16.4.0"

jest-environment-node@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3"
Expand Down

0 comments on commit 4e70b47

Please sign in to comment.