diff --git a/lib/tests/test.js b/lib/tests/test.js index d4e6bbca6..ee1fb5216 100644 --- a/lib/tests/test.js +++ b/lib/tests/test.js @@ -179,7 +179,7 @@ class Test { checkDeploymentOptions(options, callback) { const self = this; - self.resetServices = false; + let resetServices = false; const {host, port, type, accounts} = options.deployment || {}; if (host && port && !['rpc', 'ws'].includes(type)) { @@ -187,7 +187,7 @@ class Test { } if(accounts || port !== this.simOptions.port || type !== this.simOptions.type || host !== this.simOptions.host) { - self.resetServices = true; + resetServices = true; } if (accounts) { self.simOptions.accounts = AccountParser.parseAccountsConfig(accounts, self.web3); @@ -201,7 +201,7 @@ class Test { type }); - if (!self.resetServices && !self.firstRunConfig) { + if (!resetServices && !self.firstRunConfig) { return callback(); }