Commit 0809bfb2 authored by Ricky Wiens's avatar Ricky Wiens Committed by Paul Slaughter

Adding coverage capture for jest coverage

- We were not capturing/logging the coverage numbers for Jest code
  coverage. This change should capture the coverage that is already
being output by Istanbul in the coverage merge section.
parent a31e72db
...@@ -222,6 +222,7 @@ coverage-frontend: ...@@ -222,6 +222,7 @@ coverage-frontend:
- run_timed_command "retry yarn install --frozen-lockfile" - run_timed_command "retry yarn install --frozen-lockfile"
script: script:
- run_timed_command "yarn node scripts/frontend/merge_coverage_frontend.js" - run_timed_command "yarn node scripts/frontend/merge_coverage_frontend.js"
coverage: '/^Statements\s*:\s*?(\d+(?:\.\d+)?)%/'
artifacts: artifacts:
name: coverage-frontend name: coverage-frontend
expire_in: 31d expire_in: 31d
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment