Setup for Test Coverage badge
This commit is contained in:
parent
2d565a7ebf
commit
0d68e47e16
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
/tmp/
|
||||
/build/
|
||||
/coverage/
|
||||
/.coverage/
|
||||
/.eslintcache
|
||||
/.env
|
||||
/deploy.sh
|
||||
|
|
|
@ -24,7 +24,8 @@ module.exports = {
|
|||
'!app/soapbox/jest/test-setup.ts',
|
||||
'!app/soapbox/jest/test-helpers.ts',
|
||||
],
|
||||
'coverageDirectory': '<rootDir>/coverage',
|
||||
'coverageDirectory': '<rootDir>/.coverage/',
|
||||
'coverageReporters': ['html', 'text', 'text-summary', 'cobertura'],
|
||||
'moduleDirectories': [
|
||||
'<rootDir>/node_modules',
|
||||
'<rootDir>/app',
|
||||
|
|
Loading…
Reference in a new issue