use spec reporter for unit tests in ci
This commit is contained in:
@ -14,6 +14,13 @@ var config = {
|
||||
}
|
||||
},
|
||||
|
||||
ci_unit: {
|
||||
src: 'test/unit/index.js',
|
||||
options: {
|
||||
reporter: 'spec'
|
||||
}
|
||||
},
|
||||
|
||||
jenkins_unit: {
|
||||
src: 'test/unit/index.js',
|
||||
options: {
|
||||
|
||||
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user