From 8f8d35dec77fe9e14ee2384954ebec536adc53a8 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Fri, 13 Mar 2015 19:29:39 +0800 Subject: [PATCH] Simplify `test/saucelabs.js`. Remove repeated assignment operations. --- test/saucelabs.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index 76d824453..025cfa67a 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -543,9 +543,6 @@ function Job(properties) { EventEmitter.call(this); this.options = {}; - this.retries = maxJobRetries; - this.statusInterval = statusInterval; - _.merge(this, properties); _.defaults(this.options, _.cloneDeep(jobOptions)); @@ -706,7 +703,6 @@ Job.prototype.stop = function(callback) { function Tunnel(properties) { EventEmitter.call(this); - this.retries = maxTunnelRetries; _.merge(this, properties); var active = [],