mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 06:03:42 +01:00
8c644dcbd9
* 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>
32 lines
862 B
JavaScript
32 lines
862 B
JavaScript
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',
|
|
],
|
|
};
|