mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Add CodeClimate coverage reporting
This commit is contained in:
@@ -63,7 +63,7 @@ gulp.task('test:common', ['test:prepare:build'], (cb) => {
|
||||
|
||||
gulp.task('test:api', ['test:prepare:mongo'], (cb) => {
|
||||
let runner = exec(
|
||||
testBin('mocha test/api'),
|
||||
testBin("istanbul cover -i 'website/src/**' --dir coverage/api ./node_modules/.bin/_mocha -- test/api"),
|
||||
(err, stdout, stderr) => {
|
||||
testResults.push({
|
||||
suite: 'API Specs\t',
|
||||
|
||||
Reference in New Issue
Block a user