chore: Update jest to 28.x

This commit is contained in:
Gustav Hansen 2022-07-11 13:54:31 +02:00 committed by Pierre Noël
parent 0b1faa81bb
commit f98c00ff4f
3 changed files with 853 additions and 620 deletions

View File

@ -51,6 +51,7 @@ module.exports = {
'<rootDir>/packages/admin-test-utils/lib/setup/styled-components.js',
'<rootDir>/packages/admin-test-utils/lib/setup/strapi.js',
],
testEnvironment: 'jsdom',
transform: {
'^.+\\.js$': ['@swc-node/jest', { jsx: true, dynamicImport: true }],
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':

View File

@ -98,9 +98,10 @@
"glob": "7.2.3",
"husky": "3.1.0",
"istanbul": "~0.4.2",
"jest": "26.6.3",
"jest-circus": "26.6.3",
"jest-cli": "26.6.3",
"jest": "28.1.2",
"jest-circus": "28.1.2",
"jest-cli": "28.1.2",
"jest-environment-jsdom": "28.1.2",
"jest-watch-typeahead": "0.6.5",
"lerna": "5.1.6",
"lint-staged": "10.5.4",

1465
yarn.lock

File diff suppressed because it is too large Load Diff