From ce9d9b5ff007691f3335bbe63516b9a6b0649dc7 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Thu, 12 Jan 2017 17:05:11 +0200 Subject: [PATCH] fix protractor tests --- protractor.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protractor.conf.js b/protractor.conf.js index cb9197a2..5f182258 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -7,7 +7,7 @@ let config = { baseUrl: 'http://localhost:3000', framework: 'jasmine2', onPrepare: function() { - var SpecReporter = require('jasmine-spec-reporter'); + var SpecReporter = require('jasmine-spec-reporter').SpecReporter; // add jasmine spec reporter jasmine.getEnv().addReporter(new SpecReporter({displaySpecDuration: true})); // load APIs.guru list