mirror of https://github.com/embarklabs/embark.git
Merge pull request #211 from DeviateFish/fix/broken-test-deployment
Fix broken test environment
This commit is contained in:
commit
747ddc1815
|
@ -21,7 +21,7 @@ var Test = function(options) {
|
|||
}
|
||||
|
||||
this.web3 = new Web3();
|
||||
this.web3.setProvider(this.sim.provider());
|
||||
this.web3.setProvider(this.sim.provider(options));
|
||||
};
|
||||
|
||||
Test.prototype.deployAll = function(contractsConfig, cb) {
|
||||
|
@ -39,8 +39,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
|
|||
contractsConfig: config.contractsConfig,
|
||||
logger: logger
|
||||
});
|
||||
contractsManager.build();
|
||||
callback(null, contractsManager);
|
||||
contractsManager.build(callback);
|
||||
},
|
||||
function deployContracts(contractsManager, callback) {
|
||||
var deploy = new Deploy({
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"request": "^2.75.0",
|
||||
"serve-static": "^1.11.1",
|
||||
"shelljs": "^0.5.0",
|
||||
"solc": "^0.4.8",
|
||||
"solc": "0.4.8",
|
||||
"toposort": "^1.0.0",
|
||||
"web3": "^0.18.2",
|
||||
"wrench": "^1.5.8"
|
||||
|
|
Loading…
Reference in New Issue