Skip to content

Commit

Permalink
feat(cozy-harvest): 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 8933c1f commit 2f455ba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 58 deletions.
2 changes: 1 addition & 1 deletion packages/cozy-harvest-lib/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
roots: ['src'],
resolver: 'jest-resolve-cached',
testPathIgnorePatterns: ['node_modules', 'dist'],
testEnvironment: 'jest-environment-jsdom-sixteen',
testEnvironment: 'jest-environment-jsdom',
testURL: 'http://localhost/',
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'styl'],
moduleDirectories: ['src', 'node_modules'],
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"identity-obj-proxy": "3.0.0",
"isomorphic-fetch": "^2.2.1",
"jest": "26.6.3",
"jest-environment-jsdom-sixteen": "1.0.3",
"jest-environment-jsdom": "26.6.2",
"jest-resolve-cached": "1.0.0",
"jsdom": "16.5.0",
"leaflet": "1.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-harvest-lib/src/jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import minilog from '@cozy/minilog'
import '@testing-library/jest-dom/extend-expect'
import '@testing-library/jest-dom'
import { configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import 'isomorphic-fetch'
Expand Down
55 changes: 0 additions & 55 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11163,31 +11163,6 @@ cozy-client@^51.6.1:
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

cozy-client@^51.6.1:
version "51.6.1"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.6.1.tgz#55ba89c3ddedf47444ef2aa2799b5e6d12e04f76"
integrity sha512-++MbwaarzQWEpZIfbovWRNWcGWpWwhTC40S5CHjIDIZzSWKLe7mq2nhPw/cgeorj+JWSR7t6CoekJp9E2aOInQ==
dependencies:
"@cozy/minilog" "1.0.0"
"@types/jest" "^26.0.20"
"@types/lodash" "^4.14.170"
btoa "^1.2.1"
cozy-stack-client "^51.6.0"
date-fns "2.29.3"
json-stable-stringify "^1.0.1"
lodash "^4.17.13"
microee "^0.0.6"
node-fetch "^2.6.1"
node-polyglot "2.4.2"
open "7.4.2"
prop-types "^15.6.2"
react-redux "^7.2.0"
redux "3 || 4"
redux-thunk "^2.3.0"
server-destroy "^1.0.1"
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.0.0.tgz#1d08b6cb74709ef941b4d8214f13a6dc7e3910ec"
Expand Down Expand Up @@ -11404,36 +11379,6 @@ cozy-ui@^111.19.0:
react-swipeable-views "^0.13.3"
rooks "^5.11.2"

cozy-ui@^113.9.0:
version "113.9.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-113.9.0.tgz#d41b80558c752ced8cc6c2421e2609fcc17254a2"
integrity sha512-ntENcdeTDy0Lkc2kW2FLCQHT4vE7/cxLzZ6H2oxce8kMWUQgZ3DnSswv6MYVXHLz7RfuGLO0f+3LLqxBjZZPXw==
dependencies:
"@babel/runtime" "^7.3.4"
"@material-ui/core" "4.12.3"
"@material-ui/lab" "^4.0.0-alpha.61"
"@popperjs/core" "^2.4.4"
chart.js "3.7.1"
classnames "^2.2.5"
cozy-interapp "^0.5.4"
date-fns "^1.28.5"
filesize "8.0.7"
hammerjs "^2.0.8"
intersection-observer "0.11.0"
mime-types "2.1.35"
mui-bottom-sheet "https://github.com/cozy/mui-bottom-sheet.git#v1.0.9"
node-polyglot "^2.5.0"
normalize.css "^8.0.0"
pdf-lib "1.17.1"
piwik-react-router "0.12.1"
react-chartjs-2 "4.1.0"
react-markdown "^4.0.8"
react-popper "^2.2.3"
react-remove-scroll "^2.4.0"
react-select "^4.3.0"
react-swipeable-views "^0.13.3"
rooks "^5.11.2"

cozy-ui@^115.0.2:
version "115.0.2"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-115.0.2.tgz#8976de6e6141bd7255092f6e432ddacdb18d4689"
Expand Down

0 comments on commit 2f455ba

Please sign in to comment.