gulpfile.js
function mochaTask(target) {
  return function () {
    return _gulp2['default'].src('' + opt.testEspowered + '/' + target + '/*.js').pipe(_mocha2['default']({ reporter: 'spec' })).on('error', function (err) {
      return process.exit(1);
    });
  };
}
function mochaTask(target) {
  return function () {
    return _gulp2['default'].src('' + opt.testEspowered + '/' + target + '/*.js').pipe(_mocha2['default']({ reporter: 'spec' })).on('error', function (err) {
      return process.exit(1);
    });
  };
}
/* test