module.exports = { 'projects': [ '/app/soapbox', ], 'testPathIgnorePatterns': [ '/node_modules/', '/vendor/', '/config/', '/log/', '/static/', '/tmp/', '/webpack/', ], 'setupFiles': [ 'raf/polyfill', ], 'setupFilesAfterEnv': [ '/app/soapbox/test_setup.js', ], 'collectCoverageFrom': [ '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': '/coverage', 'moduleDirectories': [ '/node_modules', '/app', ], 'testEnvironment': 'jsdom', 'moduleNameMapper': { '^.+.(css|styl|less|sass|scss|png|jpg|svg|ttf|woff|woff2)$': 'jest-transform-stub', }, 'transform': { '\\.[jt]sx?$': 'babel-jest', '.+\\.(css|styl|less|sass|scss|png|jpg|svg|ttf|woff|woff2)$': 'jest-transform-stub', }, };