Skip to content
Snippets Groups Projects
Verified Commit fc1a8f9f authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

Add test-coverage report

This patch should add the abiltiy to see the test-coverage as well
parent 522cca5a
Branches
Tags
1 merge request!14Improve testing integration with GitLab
Pipeline #6350 passed
...@@ -28,6 +28,7 @@ unit-test: ...@@ -28,6 +28,7 @@ unit-test:
reports: reports:
junit: junit:
- junit.xml - junit.xml
coverage: /All\sfiles.*?\s+(\d+.\d+)/
dependency-audit: dependency-audit:
stage: test stage: test
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"format": "prettier --write \"./**/*.{js,json,md}\"", "format": "prettier --write \"./**/*.{js,json,md}\"",
"format-check": "prettier --list-different \"./**/*.{js,json,md}\"", "format-check": "prettier --list-different \"./**/*.{js,json,md}\"",
"test": "jest --coverage", "test": "jest --coverage",
"test-gitlab": "jest --ci --reporters=default --reporters=jest-junit" "test-gitlab": "jest --ci --reporters=default --reporters=jest-junit --coverage"
}, },
"authors": [ "authors": [
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment