mirror of https://github.com/embarklabs/embark.git
tmp fix for when contract is missing in sol tests
This commit is contained in:
parent
6494bfb858
commit
5362b804c4
|
@ -57,6 +57,8 @@ class SolcTest extends Test {
|
||||||
console.info('Deploying contracts'.cyan);
|
console.info('Deploying contracts'.cyan);
|
||||||
let fns = [];
|
let fns = [];
|
||||||
contracts.forEach((contract) => {
|
contracts.forEach((contract) => {
|
||||||
|
// TODO: fix me
|
||||||
|
if (!contract) return;
|
||||||
contract._gasLimit = self.gasLimit;
|
contract._gasLimit = self.gasLimit;
|
||||||
let fn = (cb) => {
|
let fn = (cb) => {
|
||||||
self.events.request('deploy:contract', contract, cb);
|
self.events.request('deploy:contract', contract, cb);
|
||||||
|
|
Loading…
Reference in New Issue