2020-04-14 22:45:07 +00:00
|
|
|
module.exports = {
|
|
|
|
'projects': [
|
2020-05-28 22:52:07 +00:00
|
|
|
'<rootDir>/app/soapbox',
|
2020-04-14 22:45:07 +00:00
|
|
|
],
|
|
|
|
'testPathIgnorePatterns': [
|
|
|
|
'<rootDir>/node_modules/',
|
|
|
|
'<rootDir>/vendor/',
|
|
|
|
'<rootDir>/config/',
|
|
|
|
'<rootDir>/log/',
|
2020-04-26 19:41:04 +00:00
|
|
|
'<rootDir>/static/',
|
2020-04-14 22:45:07 +00:00
|
|
|
'<rootDir>/tmp/',
|
|
|
|
'<rootDir>/webpack/',
|
|
|
|
],
|
|
|
|
'setupFiles': [
|
|
|
|
'raf/polyfill',
|
|
|
|
],
|
|
|
|
'setupFilesAfterEnv': [
|
2020-05-28 22:52:07 +00:00
|
|
|
'<rootDir>/app/soapbox/test_setup.js',
|
2020-04-14 22:45:07 +00:00
|
|
|
],
|
|
|
|
'collectCoverageFrom': [
|
2020-05-28 22:52:07 +00:00
|
|
|
'app/soapbox/**/*.js',
|
|
|
|
'!app/soapbox/features/emoji/emoji_compressed.js',
|
|
|
|
'!app/soapbox/locales/locale-data/*.js',
|
|
|
|
'!app/soapbox/service_worker/entry.js',
|
|
|
|
'!app/soapbox/test_setup.js',
|
2020-06-10 02:29:50 +00:00
|
|
|
'!app/soapbox/test_helpers.js',
|
2020-04-14 22:45:07 +00:00
|
|
|
],
|
|
|
|
'coverageDirectory': '<rootDir>/coverage',
|
|
|
|
'moduleDirectories': [
|
|
|
|
'<rootDir>/node_modules',
|
|
|
|
'<rootDir>/app',
|
|
|
|
],
|
|
|
|
};
|