soapbox/jest.config.js

35 wiersze
829 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',
],
2021-07-10 08:10:55 +00:00
'testEnvironment': 'jsdom',
};