mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
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 = new Web3();
|
||||||
this.web3.setProvider(this.sim.provider());
|
this.web3.setProvider(this.sim.provider(options));
|
||||||
};
|
};
|
||||||
|
|
||||||
Test.prototype.deployAll = function(contractsConfig, cb) {
|
Test.prototype.deployAll = function(contractsConfig, cb) {
|
||||||
@ -39,8 +39,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
|
|||||||
contractsConfig: config.contractsConfig,
|
contractsConfig: config.contractsConfig,
|
||||||
logger: logger
|
logger: logger
|
||||||
});
|
});
|
||||||
contractsManager.build();
|
contractsManager.build(callback);
|
||||||
callback(null, contractsManager);
|
|
||||||
},
|
},
|
||||||
function deployContracts(contractsManager, callback) {
|
function deployContracts(contractsManager, callback) {
|
||||||
var deploy = new Deploy({
|
var deploy = new Deploy({
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
"request": "^2.75.0",
|
"request": "^2.75.0",
|
||||||
"serve-static": "^1.11.1",
|
"serve-static": "^1.11.1",
|
||||||
"shelljs": "^0.5.0",
|
"shelljs": "^0.5.0",
|
||||||
"solc": "^0.4.8",
|
"solc": "0.4.8",
|
||||||
"toposort": "^1.0.0",
|
"toposort": "^1.0.0",
|
||||||
"web3": "^0.18.2",
|
"web3": "^0.18.2",
|
||||||
"wrench": "^1.5.8"
|
"wrench": "^1.5.8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user