tests: introduce istanbul.js to check code coverage

see: https://istanbul.js.org
This commit is contained in:
muxator 2018-07-28 03:33:55 +02:00 committed by muxator
parent f7000c786d
commit a0d5eb18a0
1 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@
},
"devDependencies": {
"mocha": "5.2.0",
"nyc": "^12.0.2",
"supertest": "3.0.0",
"wd": "1.6.1"
},
@ -75,7 +76,7 @@
"url": "http://github.com/ether/etherpad-lite.git"
},
"scripts": {
"test": "mocha --timeout 5000 ../tests/backend/specs/api"
"test": "nyc mocha --timeout 5000 ../tests/backend/specs/api"
},
"version": "1.6.6",
"license": "Apache-2.0"