var Jasmine = require('jasmine');
var SpecReporter = require('jasmine-spec-reporter');
var noop = function() {};

var jrunner = new Jasmine();
jrunner.configureDefaultReporter({print: noop});    // remove default reporter logs
jasmine.getEnv().addReporter(new SpecReporter());   // add jasmine-spec-reporter
jrunner.loadConfigFile();                           // load jasmine.json configuration
jrunner.execute();

let Jasmine = require('jasmine');
let SpecReporter = require('jasmine-spec-reporter').SpecReporter;

let jrunner = new Jasmine();
jrunner.env.clearReporters();           // remove default reporter logs
jrunner.addReporter(new SpecReporter({  // add jasmine-spec-reporter
  spec: {
    displayPending: true
  }
}));
jrunner.loadConfigFile();               // load jasmine.json configuration
jrunner.execute();

update jasmine-spec-reporter to version 3.0.0