Upgrade Jest to v28

This commit is contained in:
Alex Gleason 2022-07-05 11:30:08 -05:00
parent 997b709d8a
commit 2704e38758
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
3 changed files with 662 additions and 692 deletions

View File

@ -5,6 +5,8 @@ const path = require('path');
// Tries to do basically what Webpack does
module.exports = {
process(src, filename, config, options) {
return `module.exports = "https://soapbox.test/assets/${path.basename(filename)}";`;
return {
code: `module.exports = "https://soapbox.test/assets/${path.basename(filename)}";`,
};
},
};

View File

@ -53,7 +53,7 @@
"@fontsource/inter": "^4.5.1",
"@fontsource/roboto": "^4.5.0",
"@gamestdio/websocket": "^0.3.2",
"@jest/globals": "^27.5.1",
"@jest/globals": "^28.1.2",
"@lcdp/offline-plugin": "^5.1.0",
"@metamask/providers": "^9.0.0",
"@popperjs/core": "^2.11.5",
@ -73,7 +73,7 @@
"@testing-library/react": "^12.1.4",
"@types/escape-html": "^1.0.1",
"@types/http-link-header": "^1.0.3",
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.4",
"@types/lodash": "^4.14.180",
"@types/object-assign": "^4.0.30",
"@types/object-fit-images": "^3.2.3",
@ -208,7 +208,7 @@
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^28.1.0",
"babel-jest": "^28.1.2",
"cross-env": "^7.0.3",
"danger": "^11.0.7",
"eslint": "^7.0.0",
@ -220,8 +220,9 @@
"eslint-plugin-react-hooks": "^4.2.0",
"fake-indexeddb": "^3.1.7",
"husky": "^7.0.2",
"jest": "^27.5.1",
"jest-junit": "^13.2.0",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"jest-junit": "^14.0.0",
"lint-staged": ">=10",
"raf": "^3.4.1",
"react-intl-translations-manager": "^5.0.3",
@ -230,7 +231,7 @@
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.18.0",
"tailwindcss": "^3.0.15",
"ts-jest": "^27.1.4",
"ts-jest": "^28.0.5",
"webpack-dev-server": "^4.9.1",
"yargs": "^16.0.3"
}

1337
yarn.lock

File diff suppressed because it is too large Load Diff