mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
Bump jest from 27.5.1 to 28.0.3 (#18280)
* Bump jest from 27.5.1 to 28.0.3 Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 28.0.3. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v28.0.3/packages/jest) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump babel-jest from 27.5.1 to 28.0.3 Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 27.5.1 to 28.0.3. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v28.0.3/packages/babel-jest) --- updated-dependencies: - dependency-name: babel-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Add jest-environment-jsdom Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
This commit is contained in:
parent
c08bc2da61
commit
8c644dcbd9
32
jest.config.js
Normal file
32
jest.config.js
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
module.exports = {
|
||||||
|
'testEnvironment': 'jsdom',
|
||||||
|
'projects': [
|
||||||
|
'<rootDir>/app/javascript/mastodon',
|
||||||
|
],
|
||||||
|
'testPathIgnorePatterns': [
|
||||||
|
'<rootDir>/node_modules/',
|
||||||
|
'<rootDir>/vendor/',
|
||||||
|
'<rootDir>/config/',
|
||||||
|
'<rootDir>/log/',
|
||||||
|
'<rootDir>/public/',
|
||||||
|
'<rootDir>/tmp/',
|
||||||
|
],
|
||||||
|
'setupFiles': [
|
||||||
|
'raf/polyfill',
|
||||||
|
],
|
||||||
|
'setupFilesAfterEnv': [
|
||||||
|
'<rootDir>/app/javascript/mastodon/test_setup.js',
|
||||||
|
],
|
||||||
|
'collectCoverageFrom': [
|
||||||
|
'app/javascript/mastodon/**/*.js',
|
||||||
|
'!app/javascript/mastodon/features/emoji/emoji_compressed.js',
|
||||||
|
'!app/javascript/mastodon/locales/locale-data/*.js',
|
||||||
|
'!app/javascript/mastodon/service_worker/entry.js',
|
||||||
|
'!app/javascript/mastodon/test_setup.js',
|
||||||
|
],
|
||||||
|
'coverageDirectory': '<rootDir>/coverage',
|
||||||
|
'moduleDirectories': [
|
||||||
|
'<rootDir>/node_modules',
|
||||||
|
'<rootDir>/app/javascript',
|
||||||
|
],
|
||||||
|
};
|
37
package.json
37
package.json
@ -28,38 +28,6 @@
|
|||||||
"iOS >= 9",
|
"iOS >= 9",
|
||||||
"not dead"
|
"not dead"
|
||||||
],
|
],
|
||||||
"jest": {
|
|
||||||
"testEnvironment": "jsdom",
|
|
||||||
"projects": [
|
|
||||||
"<rootDir>/app/javascript/mastodon"
|
|
||||||
],
|
|
||||||
"testPathIgnorePatterns": [
|
|
||||||
"<rootDir>/node_modules/",
|
|
||||||
"<rootDir>/vendor/",
|
|
||||||
"<rootDir>/config/",
|
|
||||||
"<rootDir>/log/",
|
|
||||||
"<rootDir>/public/",
|
|
||||||
"<rootDir>/tmp/"
|
|
||||||
],
|
|
||||||
"setupFiles": [
|
|
||||||
"raf/polyfill"
|
|
||||||
],
|
|
||||||
"setupFilesAfterEnv": [
|
|
||||||
"<rootDir>/app/javascript/mastodon/test_setup.js"
|
|
||||||
],
|
|
||||||
"collectCoverageFrom": [
|
|
||||||
"app/javascript/mastodon/**/*.js",
|
|
||||||
"!app/javascript/mastodon/features/emoji/emoji_compressed.js",
|
|
||||||
"!app/javascript/mastodon/locales/locale-data/*.js",
|
|
||||||
"!app/javascript/mastodon/service_worker/entry.js",
|
|
||||||
"!app/javascript/mastodon/test_setup.js"
|
|
||||||
],
|
|
||||||
"coverageDirectory": "<rootDir>/coverage",
|
|
||||||
"moduleDirectories": [
|
|
||||||
"<rootDir>/node_modules",
|
|
||||||
"<rootDir>/app/javascript"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.17.10",
|
"@babel/core": "^7.17.10",
|
||||||
@ -177,13 +145,14 @@
|
|||||||
"@testing-library/jest-dom": "^5.16.4",
|
"@testing-library/jest-dom": "^5.16.4",
|
||||||
"@testing-library/react": "^12.1.5",
|
"@testing-library/react": "^12.1.5",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"babel-jest": "^27.5.1",
|
"babel-jest": "^28.0.3",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-plugin-import": "~2.26.0",
|
"eslint-plugin-import": "~2.26.0",
|
||||||
"eslint-plugin-jsx-a11y": "~6.5.1",
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
||||||
"eslint-plugin-promise": "~6.0.0",
|
"eslint-plugin-promise": "~6.0.0",
|
||||||
"eslint-plugin-react": "~7.29.4",
|
"eslint-plugin-react": "~7.29.4",
|
||||||
"jest": "^27.5.1",
|
"jest": "^28.0.3",
|
||||||
|
"jest-environment-jsdom": "^28.0.2",
|
||||||
"prettier": "^2.6.2",
|
"prettier": "^2.6.2",
|
||||||
"raf": "^3.4.1",
|
"raf": "^3.4.1",
|
||||||
"react-intl-translations-manager": "^5.0.3",
|
"react-intl-translations-manager": "^5.0.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user