mirror of
https://github.com/strapi/strapi.git
synced 2025-10-03 12:26:19 +00:00
chore: Update jest to 28.x
This commit is contained in:
parent
0b1faa81bb
commit
f98c00ff4f
@ -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)$':
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user