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

@@ -53,7 +53,7 @@
"@testing-library/react-hooks": "8.0.0",
"@testing-library/user-event": "14.2.0",
"@types/history": "4.7.11",
"@types/jest": "27.4.1",
"@types/jest": "27.5.1",
"@types/jquery": "3.5.14",
"@types/lodash": "4.14.182",
"@types/marked": "4.0.3",