const protractor = require('protractor')
const phantomjs = require('phantomjs-prebuilt')

exports.config = {
  framework: 'mocha',
  plugins: [{
    package: 'aurelia-protractor-plugin'
  }, {
    package: 'protractor-console',
    logLevels: ['debug', 'info', 'warning', 'severe']
  }],

  capabilities: {
    'browserName': 'phantomjs',
    'phantomjs.binary.path': phantomjs.path
  },
  seleniumServerJar: './node_modules/selenium-jar/bin/selenium-server-standalone-2.52.0.jar',
  localSeleniumStandaloneOpts: {
    args: ['-Djna.nosys=true']
  },

  baseUrl: 'http://localhost:3000',
  specs: ['test/e2e*.spec.js'],

  onPrepare: () => {
    protractor.ignoreSynchronization = true
  },

  mochaOpts: {
    reporter: 'spec',
    timeout: 6000
  }
}

const phantomjs = require('phantomjs-prebuilt')

exports.config = {
  framework: 'mocha',
  plugins: [{
    package: 'aurelia-protractor-plugin'
  }, {
    package: 'protractor-console',
    logLevels: ['debug', 'info', 'warning', 'severe']
  }],

  capabilities: {
    'browserName': 'phantomjs',
    'phantomjs.binary.path': phantomjs.path
  },
  seleniumServerJar: './node_modules/selenium-jar/bin/selenium-server-standalone-2.52.0.jar',
  localSeleniumStandaloneOpts: {
    args: ['-Djna.nosys=true']
  },

  baseUrl: 'http://localhost:3000',
  specs: ['test/e2e*.spec.js'],

  mochaOpts: {
    reporter: 'spec',
    timeout: 6000
  }
}

Remove not-needed option. The aurelia plugin already takes care of this.
Remove not-needed option.
The aurelia plugin already takes care of this.
