mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 22:44:45 +00:00
Merge pull request #196 from decentbet/tests-fix
Setting web3 on Embark Test constructor
This commit is contained in:
commit
6bcfa7e1f0
@ -19,12 +19,13 @@ var Test = function(options) {
|
||||
console.log('For more information see https://github.com/ethereumjs/testrpc');
|
||||
exit();
|
||||
}
|
||||
|
||||
this.web3 = new Web3();
|
||||
this.web3.setProvider(this.sim.provider());
|
||||
};
|
||||
|
||||
Test.prototype.deployAll = function(contractsConfig, cb) {
|
||||
var self = this;
|
||||
this.web3 = new Web3();
|
||||
this.web3.setProvider(this.sim.provider());
|
||||
var logger = new TestLogger({logLevel: 'debug'});
|
||||
|
||||
async.waterfall([
|
||||
|
Loading…
x
Reference in New Issue
Block a user