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
  }
}

@@ -1,45 +1,4 @@
-const protractor = require('protractor')%0A
 cons
@@ -577,79 +577,8 @@
 %5D,%0A%0A
-  onPrepare: () =%3E %7B%0A    protractor.ignoreSynchronization = true%0A  %7D,%0A%0A
   mo

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