mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 17:44:14 -05:00
734e186717
Conflicts: - `app/javascript/mastodon/load_locale.js`: The file moved to `app/javascript/mastodon/locales/load_locale.ts`. Ported the changes there and deleted `app/javascript/mastodon/load_locale.js`. - `app/javascript/mastodon/locales/index.js`: The file moved to `app/javascript/mastodon/locales/index.ts`. Did *not* port the changes as I want to try something a bit different.
25 lines
780 B
JavaScript
25 lines
780 B
JavaScript
/** @type {import('jest').Config} */
|
|
const config = {
|
|
testEnvironment: 'jsdom',
|
|
testPathIgnorePatterns: [
|
|
'<rootDir>/node_modules/',
|
|
'<rootDir>/vendor/',
|
|
'<rootDir>/config/',
|
|
'<rootDir>/log/',
|
|
'<rootDir>/public/',
|
|
'<rootDir>/tmp/',
|
|
'<rootDir>/app/javascript/themes/',
|
|
],
|
|
setupFilesAfterEnv: ['<rootDir>/app/javascript/mastodon/test_setup.js'],
|
|
collectCoverageFrom: [
|
|
'app/javascript/mastodon/**/*.{js,jsx,ts,tsx}',
|
|
'!app/javascript/mastodon/features/emoji/emoji_compressed.js',
|
|
'!app/javascript/mastodon/service_worker/entry.js',
|
|
'!app/javascript/mastodon/test_setup.js',
|
|
],
|
|
coverageDirectory: '<rootDir>/coverage',
|
|
moduleDirectories: ['<rootDir>/node_modules', '<rootDir>/app/javascript'],
|
|
};
|
|
|
|
module.exports = config;
|