function _spawnProtractor( suite ) {
  var params = _getProtractorParams( suite );
  gulpUtil.log( 'Running Protractor with params: ' + params );
  spawn(
    fsHelper.getBinary( 'protractor', 'protractor', '../bin/' ),
    params,
    { stdio: 'inherit' }
  ).once( 'close', function( code ) {
    if ( code ) {
      gulpUtil.log( 'Protractor tests exited with code ' + code );
      process.exit( 1 );
    }
    gulpUtil.log( 'Protractor tests done!' );
  } );
}
/**
 * Spawn the appropriate acceptance tests.
 * @param {string} suite Name of specific suite or suites to run, if any.
 */
Spawn the appropriate acceptance tests.
@param {string} suite Name of specific suite or suites to run, if any.
Spawn the appropriate acceptance tests . @param { string } suite Name of specific suite or suites to run if any .
function _spawnProtractor( suite ) {
  var params = _getProtractorParams( suite );
  gulpUtil.log( 'Running Protractor with params: ' + params );
  spawn(
    fsHelper.getBinary( 'protractor', 'protractor', '../bin/' ),
    params,
    { stdio: 'inherit' }
  ).once( 'close', function( code ) {
    if ( code ) {
      gulpUtil.log( 'Protractor tests exited with code ' + code );
      process.exit( 1 );
    }
    gulpUtil.log( 'Protractor tests done!' );
  } );
}
function _spawnProtractor ( suite ) { var params = _getProtractorParams ( suite ) ; gulpUtil . log ( 'Running Protractor with params: ' + params ) ; spawn ( fsHelper . getBinary ( 'protractor' , 'protractor' , '../bin/' ) , params , { stdio : 'inherit' } ) . once ( 'close' , function ( code ) { if ( code ) { gulpUtil . log ( 'Protractor tests exited with code ' + code ) ; process . exit ( 1 ) ; } gulpUtil . log ( 'Protractor tests done!' ) ; } ) ; }
Spawn the appropriate acceptance tests.
Spawn the appropriate acceptance tests .