fix protractor tests

This commit is contained in:
Roman Hotsiy 2017-01-12 17:05:11 +02:00
parent 0a07aedc1f
commit ce9d9b5ff0
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -7,7 +7,7 @@ let config = {
baseUrl: 'http://localhost:3000', baseUrl: 'http://localhost:3000',
framework: 'jasmine2', framework: 'jasmine2',
onPrepare: function() { onPrepare: function() {
var SpecReporter = require('jasmine-spec-reporter'); var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
// add jasmine spec reporter // add jasmine spec reporter
jasmine.getEnv().addReporter(new SpecReporter({displaySpecDuration: true})); jasmine.getEnv().addReporter(new SpecReporter({displaySpecDuration: true}));
// load APIs.guru list // load APIs.guru list