Update jest monorepo to v29 (#58261)

* Update jest monorepo to v29

* update snapshots + wrap test in act

* fix linting errors: jest.mocked now defaults to deep mocking

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
renovate[bot]
2022-11-24 14:00:41 +00:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Ashley Harrison
parent 8e6d343981
commit e84a01e870
91 changed files with 11654 additions and 11597 deletions
+6 -6
View File
@@ -125,7 +125,7 @@
"@types/gtag.js": "^0.0.12",
"@types/history": "4.7.11",
"@types/hoist-non-react-statics": "3.3.1",
"@types/jest": "28.1.6",
"@types/jest": "29.2.3",
"@types/jquery": "3.5.14",
"@types/js-yaml": "^4.0.5",
"@types/jsurl": "^1.2.28",
@@ -165,7 +165,7 @@
"@typescript-eslint/parser": "5.42.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.7.0",
"autoprefixer": "10.4.13",
"babel-jest": "28.1.3",
"babel-jest": "29.3.1",
"babel-loader": "9.1.0",
"babel-plugin-angularjs-annotate": "0.10.0",
"babel-plugin-macros": "3.1.0",
@@ -195,13 +195,13 @@
"http-server": "14.1.1",
"husky": "8.0.1",
"i18next-parser": "6.6.0",
"jest": "28.1.3",
"jest": "29.3.1",
"jest-canvas-mock": "2.4.0",
"jest-date-mock": "1.0.8",
"jest-environment-jsdom": "28.1.3",
"jest-environment-jsdom": "29.3.1",
"jest-fail-on-console": "3.0.2",
"jest-junit": "14.0.1",
"jest-matcher-utils": "28.1.3",
"jest-matcher-utils": "29.3.1",
"lerna": "5.5.4",
"lint-staged": "13.0.3",
"mini-css-extract-plugin": "2.6.1",
@@ -230,7 +230,7 @@
"stylelint-config-sass-guidelines": "9.0.1",
"terser-webpack-plugin": "5.3.6",
"testing-library-selector": "0.2.1",
"ts-jest": "28.0.7",
"ts-jest": "29.0.3",
"ts-loader": "9.3.1",
"ts-node": "10.9.1",
"typescript": "4.8.4",