Browse Source

deps(ui): Update jest dependencies (#54065)

Scott Cooper 1 year ago
parent
commit
75abe48a9a

+ 7 - 7
package.json

@@ -63,7 +63,7 @@
     "@types/diff": "5.0.2",
     "@types/dompurify": "^2.4.0",
     "@types/invariant": "^2.2.35",
-    "@types/jest": "^29.4.0",
+    "@types/jest": "^29.5.3",
     "@types/js-beautify": "^1.13.3",
     "@types/js-cookie": "^3.0.2",
     "@types/lodash": "^4.14.182",
@@ -180,17 +180,17 @@
     "@types/node": "^18.14.0",
     "@visual-snapshot/jest": "7.0.0",
     "babel-gettext-extractor": "^4.1.3",
-    "babel-jest": "^29.4.1",
+    "babel-jest": "^29.6.2",
     "babel-plugin-dynamic-import-node": "^2.3.3",
     "benchmark": "^2.1.4",
     "eslint": "8.44.0",
     "eslint-config-sentry-app": "1.122.0",
     "html-webpack-plugin": "^5.5.0",
-    "jest": "29.4.1",
-    "jest-canvas-mock": "^2.4.0",
-    "jest-environment-jsdom": "^29.4.1",
-    "jest-fail-on-console": "^3.0.2",
-    "jest-junit": "15.0.0",
+    "jest": "29.6.2",
+    "jest-canvas-mock": "^2.5.2",
+    "jest-environment-jsdom": "^29.6.2",
+    "jest-fail-on-console": "^3.1.1",
+    "jest-junit": "16.0.0",
     "jest-sentry-environment": "3.0.0",
     "postcss-jsx": "0.36.4",
     "postcss-syntax": "0.36.2",

+ 0 - 2
static/app/components/sidebar/index.spec.tsx

@@ -47,8 +47,6 @@ describe('Sidebar', function () {
       url: `/organizations/${organization.slug}/sdk-updates/`,
       body: [],
     });
-
-    jest.restoreAllMocks();
   });
 
   it('renders', async function () {

+ 0 - 1
static/app/views/performance/transactionSummary/transactionOverview/index.spec.tsx

@@ -464,7 +464,6 @@ describe('Performance > TransactionSummary', function () {
     MockApiClient.clearMockResponses();
     ProjectsStore.reset();
     jest.clearAllMocks();
-    jest.restoreAllMocks();
   });
 
   describe('with events', function () {

File diff suppressed because it is too large
+ 383 - 391
yarn.lock


Some files were not shown because too many files changed in this diff