tmp fix for when contract is missing in sol tests

This commit is contained in:
Iuri Matias 2018-10-29 18:37:07 +01:00
parent 6494bfb858
commit 5362b804c4
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ class SolcTest extends Test {
console.info('Deploying contracts'.cyan);
let fns = [];
contracts.forEach((contract) => {
// TODO: fix me
if (!contract) return;
contract._gasLimit = self.gasLimit;
let fn = (cb) => {
self.events.request('deploy:contract', contract, cb);