Commit 1b0c0f93 authored by yPhil's avatar yPhil
Browse files

Coverage tests

parent e408f695
Pipeline #391708 passed with stage
in 40 seconds
......@@ -8,4 +8,4 @@ job1:
script:
- npm install
- npm start
- npm test
- npm run coverage
......@@ -5,8 +5,9 @@
---
[![pipeline status](https://framagit.org/yphil/petrolette/badges/master/pipeline.svg)](https://framagit.org/yphil/petrolette/-/pipelines)
[![coverage](https://framagit.org/yphil/favrat/badges/master/coverage.svg)](https://framagit.org/yphil/petrolette/-/pipelines)
[![License GPLv3](https://img.shields.io/badge/license-GPL_v3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.html)
[![Liberapay](https://framagit.org/yphil/petrolette/-/pipelineshttps://img.shields.io/badge/donate-Liberapay-yellow.svg)](https://liberapay.com/yPhil/donate)
[![Liberapay](https://img.shields.io/badge/donate-Liberapay-yellow.svg)](https://liberapay.com/yPhil/donate)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/yphil)
![Pétrolette](https://framagit.org/yphil/assets/-/raw/main/img/petrolette.png)
......
This diff is collapsed.
......@@ -21,6 +21,7 @@
"logs": "./node_modules/pm2/bin/pm2 logs petrolette",
"errors": "./node_modules/pm2/bin/pm2 logs --err --format",
"test": "mocha --timeout 30s",
"coverage": "nyc npm test",
"postinstall": "bower install --allow-root && cd ./node_modules/favrat ; npm i && cd ../feedrat ; npm i"
},
"dependencies": {
......@@ -42,6 +43,7 @@
},
"devDependencies": {
"mocha": "^8.3.0",
"nyc": "^15.1.0",
"should": "^13.2.3",
"uglify-js": "^3.12.8"
}
......
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