Skip to content
Snippets Groups Projects

refactor(webapp): fix coverage

Merged Hannes Heine requested to merge fix-coverage into master

Created by: ulfgebhardt

:cake: Pullrequest

Fixed coverage reporting. The coverage report is now properly generated using @vue/vue2-jest instead of vue-jest.

Additionally this defines coverageProvider: "v8" to get proper highlighting in the coverage html files. See: https://jestjs.io/docs/configuration#coverageprovider-string

Apparently template and script elements are included in the coverage threshold and this leads to a high coverage value. Still this is an improvement since coverage now is correct(apparently was before as well) and is debugable via the html.

image

Issues

Todo

  • Investigate if we can use babel as coverage provider to get more meaningful coverage values. -> not working at the moment

Merge request reports

Merged by avatar (Jun 9, 2025 3:49am UTC)

Merge details

  • Changes merged into with 33bb92de.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading