soapbox/jest.config.js

34 wiersze
799 B
JavaScript
Czysty Zwykły widok Historia

module.exports = {
'projects': [
2020-05-28 22:52:07 +00:00
'<rootDir>/app/soapbox',
],
'testPathIgnorePatterns': [
'<rootDir>/node_modules/',
'<rootDir>/vendor/',
'<rootDir>/config/',
'<rootDir>/log/',
'<rootDir>/static/',
'<rootDir>/tmp/',
'<rootDir>/webpack/',
],
'setupFiles': [
'raf/polyfill',
],
'setupFilesAfterEnv': [
2020-05-28 22:52:07 +00:00
'<rootDir>/app/soapbox/test_setup.js',
],
'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',
'!app/soapbox/test_helpers.js',
],
'coverageDirectory': '<rootDir>/coverage',
'moduleDirectories': [
'<rootDir>/node_modules',
'<rootDir>/app',
],
};