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:
Ashley Harrison
2022-05-30 14:14:34 +01:00
committed by GitHub
parent 0a23299878
commit 216565aa00
10 changed files with 1255 additions and 75 deletions

View File

@ -43,7 +43,7 @@
"@testing-library/user-event": "14.2.0",
"@types/angular": "1.8.4",
"@types/history": "4.7.11",
"@types/jest": "27.4.1",
"@types/jest": "27.5.1",
"@types/lodash": "4.14.182",
"@types/react": "17.0.42",
"@types/react-dom": "17.0.14",