Commit b8de5b75 authored by yPhil's avatar yPhil
Browse files

CI: Added code coverage stuff

parent b51dd1e6
Pipeline #392366 passed with stage
in 1 minute and 5 seconds
......@@ -8,4 +8,4 @@ stages:
job1:
stage: build
script:
- npm test
- npm run coverage
This diff is collapsed.
......@@ -11,7 +11,8 @@
"scrap"
],
"scripts": {
"test": "mocha --timeout 80s"
"test": "mocha --timeout 80s",
"coverage": "nyc npm test"
},
"dependencies": {
"cheerio": "^1.0.0-rc.5",
......@@ -19,6 +20,7 @@
},
"devDependencies": {
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"should": "^13.2.3"
},
"repository": {
......
Supports Markdown
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