From 66c95a0eb91c71ebd98be2edd3391c6279d8812f Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 4 Aug 2015 03:46:43 -0700 Subject: [PATCH] use spec reporter for unit tests in ci --- grunt/config/mochacov.js | 7 +++++++ scripts/ci.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/grunt/config/mochacov.js b/grunt/config/mochacov.js index 7bc41404c..eec8f7d6e 100644 --- a/grunt/config/mochacov.js +++ b/grunt/config/mochacov.js @@ -14,6 +14,13 @@ var config = { } }, + ci_unit: { + src: 'test/unit/index.js', + options: { + reporter: 'spec' + } + }, + jenkins_unit: { src: 'test/unit/index.js', options: { diff --git a/scripts/ci.js b/scripts/ci.js index d9fbf0228..0fd2e926d 100644 --- a/scripts/ci.js +++ b/scripts/ci.js @@ -38,7 +38,7 @@ var taskOut; // task output stream task('NODE_UNIT', true, function () { if (!JENKINS) { - return grunt('jshint', 'mochacov:unit'); + return grunt('jshint', 'mochacov:ci_unit'); } return grunt('mochacov:jenkins_unit');