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/
|
/tmp/
|
||||||
/build/
|
/build/
|
||||||
/coverage/
|
/coverage/
|
||||||
|
/.coverage/
|
||||||
/.eslintcache
|
/.eslintcache
|
||||||
/.env
|
/.env
|
||||||
/deploy.sh
|
/deploy.sh
|
||||||
|
|
|
@ -24,7 +24,8 @@ module.exports = {
|
||||||
'!app/soapbox/jest/test-setup.ts',
|
'!app/soapbox/jest/test-setup.ts',
|
||||||
'!app/soapbox/jest/test-helpers.ts',
|
'!app/soapbox/jest/test-helpers.ts',
|
||||||
],
|
],
|
||||||
'coverageDirectory': '<rootDir>/coverage',
|
'coverageDirectory': '<rootDir>/.coverage/',
|
||||||
|
'coverageReporters': ['html', 'text', 'text-summary', 'cobertura'],
|
||||||
'moduleDirectories': [
|
'moduleDirectories': [
|
||||||
'<rootDir>/node_modules',
|
'<rootDir>/node_modules',
|
||||||
'<rootDir>/app',
|
'<rootDir>/app',
|
||||||
|
|
Loading…
Reference in a new issue