diff --git a/.gitignore b/.gitignore index 1d36a4816..138e96d05 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /tmp/ /build/ /coverage/ +/.coverage/ /.eslintcache /.env /deploy.sh diff --git a/jest.config.js b/jest.config.js index 7b36443e5..d4369336b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -24,7 +24,8 @@ module.exports = { '!app/soapbox/jest/test-setup.ts', '!app/soapbox/jest/test-helpers.ts', ], - 'coverageDirectory': '/coverage', + 'coverageDirectory': '/.coverage/', + 'coverageReporters': ['html', 'text', 'text-summary', 'cobertura'], 'moduleDirectories': [ '/node_modules', '/app',