use this instead of self

This commit is contained in:
Jonathan Rainville 2018-10-11 17:15:36 -04:00 committed by Pascal Precht
parent ac9dbdd1d6
commit c6aa19a772
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 2 deletions

View File

@ -125,7 +125,6 @@ class TestRunner {
const loglevel = options.loglevel || 'warn';
async.waterfall([
function setupGlobalNamespace(next) {
// TODO put default config
const test = new Test({loglevel, node: options.node, events: self.events, logger: self.logger,
config: self.embark.config, ipc: self.ipc});
global.embark = test;
@ -205,7 +204,7 @@ class TestRunner {
const loglevel = options.loglevel || 'warn';
let solcTest = new SolcTest({loglevel, node: options.node, events: this.events, logger: this.logger,
config: this.embark.config, ipc: self.ipc});
config: this.embark.config, ipc: this.ipc});
global.embark = solcTest;
async.waterfall([
function initEngine(next) {