add errors in test
This commit is contained in:
parent
52244cca8e
commit
c893c34fd2
|
@ -59,7 +59,13 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
|
|||
callback(null, ABI);
|
||||
}
|
||||
], function(err, result) {
|
||||
if (err) {
|
||||
throw new Error(err);
|
||||
}
|
||||
self.web3.eth.getAccounts(function(err, accounts) {
|
||||
if (err) {
|
||||
throw new Error(err);
|
||||
}
|
||||
var web3 = self.web3;
|
||||
web3.eth.defaultAccount = accounts[0];
|
||||
// TODO: replace evals with separate process so it's isolated and with
|
||||
|
|
Loading…
Reference in New Issue