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();

@@ -1,11 +1,11 @@
-var
+let
  Jasmine
@@ -27,19 +27,19 @@
 mine');%0A
-var
+let
  SpecRep
@@ -82,40 +82,27 @@
 er')
-;%0Avar noop = function() %7B%7D;%0A%0Avar
+.SpecReporter;%0A%0Alet
  jru
@@ -135,48 +135,36 @@
 ner.
-configureDefaultReporter(%7Bprint: noop%7D);
+env.clearReporters();       
     
@@ -200,23 +200,14 @@
 gs%0Aj
-asmine.getEnv()
+runner
 .add
@@ -236,14 +236,11 @@
 ter(
-));
+%7B
   
- 
 // a
@@ -264,16 +264,60 @@
 eporter%0A
+  spec: %7B%0A    displayPending: true%0A  %7D%0A%7D));%0A
 jrunner.
@@ -333,28 +333,16 @@
 gFile();
-            
         

update jasmine-spec-reporter to version 3.0.0