Jest update v26.6.3 -> v29.5.1
Summary: ^ Basically, update Jest and fix any raised issues. Mainly: - Update necessary dependencies - Update snapshots - `useFakeTimers` caused a few issues which meant that the way we hook into the performance object had to be tweaked. The main code change is: `//fbsource/xplat/sonar/desktop/scripts/jest-setup-after.tsx` - `mocked` -> `jest.mocked` Changelog: Update Jest to v29.5.1 Reviewed By: antonk52 Differential Revision: D46319818 fbshipit-source-id: d218ca8f7e43abac6b00844953ddeb7f4e1010a2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
94cb8935b2
commit
6430403da0
@@ -70,7 +70,7 @@
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@jest-runner/electron": "^3.0.1",
|
||||
"@testing-library/react": "^12.1.4",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/jest": "^29.5.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
||||
"@typescript-eslint/parser": "^5.55.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
@@ -93,15 +93,14 @@
|
||||
"eslint-plugin-react": "^7.29.4",
|
||||
"eslint-plugin-react-hooks": "^4.5.0",
|
||||
"eslint-plugin-rulesdir": "^0.2.1",
|
||||
"jest": "^26.6.3",
|
||||
"jest-environment-jsdom-sixteen": "^2.0.0",
|
||||
"jest": "^29.5.0",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"less": "^4.1.2",
|
||||
"patch-package": "^6.4.7",
|
||||
"prettier": "^2.8.7",
|
||||
"pretty-format": "^27.5.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^26.5.6",
|
||||
"ts-jest": "^29.1.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
@@ -116,6 +115,7 @@
|
||||
"productName": "Flipper",
|
||||
"resolutions": {
|
||||
"@jest-runner/electron/electron": "18.2.0",
|
||||
"jest-environment-jsdom": "29.5.0",
|
||||
"minimist": "1.2.6",
|
||||
"node-forge": "^1.0.6"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user