Merge branch 'coverage' into 'develop'
Add coverage definition See merge request soapbox-pub/soapbox-fe!1458
This commit is contained in:
commit
ef71df6873
2 changed files with 7 additions and 1 deletions
|
@ -56,6 +56,12 @@ jest:
|
|||
- "jest.config.js"
|
||||
- "package.json"
|
||||
- "yarn.lock"
|
||||
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: .coverage/cobertura-coverage.xml
|
||||
|
||||
nginx-test:
|
||||
stage: test
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
'!app/soapbox/jest/test-helpers.ts',
|
||||
],
|
||||
'coverageDirectory': '<rootDir>/.coverage/',
|
||||
'coverageReporters': ['html', 'text', 'text-summary', 'cobertura'],
|
||||
'coverageReporters': ['cobertura'],
|
||||
'moduleDirectories': [
|
||||
'<rootDir>/node_modules',
|
||||
'<rootDir>/app',
|
||||
|
|
Loading…
Reference in a new issue