mirror of https://github.com/embarklabs/embark.git
use this instead of self
This commit is contained in:
parent
ac9dbdd1d6
commit
c6aa19a772
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue