Jasmine spec reporter fix

This commit is contained in:
Sean Lilley 2017-01-04 13:10:51 -05:00
parent 6f5bc856ed
commit b91e0e8731

View File

@ -6,7 +6,7 @@ var fsExtra = require('fs-extra');
var gulp = require('gulp');
var gulpJshint = require('gulp-jshint');
var Jasmine = require('jasmine');
var JasmineSpecReporter = require('jasmine-spec-reporter');
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
var open = require('open');
var path = require('path');
var yargs = require('yargs');
@ -42,7 +42,7 @@ gulp.task('jsHint-watch', function () {
gulp.task('test', function (done) {
var jasmine = new Jasmine();
jasmine.loadConfigFile('specs/jasmine.json');
jasmine.addReporter(new JasmineSpecReporter({
jasmine.addReporter(new SpecReporter({
displaySuccessfulSpec: !defined(argv.suppressPassed) || !argv.suppressPassed
}));
jasmine.execute();