Chore: Upgrade to jest 28 (#49679)
* bump packages to jest 28 * changes needed for jest 28 * map react-colorful as well * use customResolver and fix last test * don't need react-colorful installed if we're using a custom resolver * return correct thing in mock * remove watchPathIgnorePatterns since we don't have node_modules anymore
This commit is contained in:
+6
-5
@@ -130,7 +130,7 @@
|
||||
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5",
|
||||
"@types/history": "4.7.11",
|
||||
"@types/hoist-non-react-statics": "3.3.1",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/jest": "27.5.1",
|
||||
"@types/jquery": "3.5.14",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/jsurl": "^1.2.28",
|
||||
@@ -171,7 +171,7 @@
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
|
||||
"autoprefixer": "10.4.7",
|
||||
"axios": "0.27.2",
|
||||
"babel-jest": "27.5.1",
|
||||
"babel-jest": "28.1.0",
|
||||
"babel-loader": "8.2.5",
|
||||
"babel-plugin-angularjs-annotate": "0.10.0",
|
||||
"babel-plugin-macros": "3.1.0",
|
||||
@@ -200,12 +200,13 @@
|
||||
"http-server": "14.1.0",
|
||||
"husky": "8.0.1",
|
||||
"iconscout-unicons-tarball": "https://github.com/grafana/icons/tarball/63056cd833ba7ee4e94904492b3a8c0cabc38d28",
|
||||
"jest": "27.5.1",
|
||||
"jest": "28.1.0",
|
||||
"jest-canvas-mock": "2.4.0",
|
||||
"jest-date-mock": "1.0.8",
|
||||
"jest-environment-jsdom": "28.1.0",
|
||||
"jest-fail-on-console": "2.4.1",
|
||||
"jest-junit": "13.2.0",
|
||||
"jest-matcher-utils": "27.5.1",
|
||||
"jest-matcher-utils": "28.1.0",
|
||||
"jest-mock-console": "1.2.3",
|
||||
"lerna": "^4.0.0",
|
||||
"lint-staged": "12.4.1",
|
||||
@@ -234,7 +235,7 @@
|
||||
"stylelint-config-sass-guidelines": "9.0.1",
|
||||
"terser-webpack-plugin": "5.3.1",
|
||||
"testing-library-selector": "0.2.1",
|
||||
"ts-jest": "27.1.3",
|
||||
"ts-jest": "28.0.3",
|
||||
"ts-loader": "9.2.6",
|
||||
"ts-node": "10.7.0",
|
||||
"typescript": "4.6.4",
|
||||
|
||||
Reference in New Issue
Block a user