From d1b2b87be39767ddc86c29132d00b95345b42e83 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 9 Aug 2018 15:59:36 -0400 Subject: [PATCH] Fix tests --- test/compiler.js | 3 ++- test/contracts.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/compiler.js b/test/compiler.js index 7f9a8649a..8aa9cdca3 100644 --- a/test/compiler.js +++ b/test/compiler.js @@ -14,7 +14,8 @@ var solcVersion = "0.4.24"; var TestEvents = { request: (cmd, cb) => { cb(solcVersion); - } + }, + emit: (_ev, _data) => {} }; let ipcObject = new Ipc({ diff --git a/test/contracts.js b/test/contracts.js index e340e74ab..e9cc2977b 100644 --- a/test/contracts.js +++ b/test/contracts.js @@ -19,7 +19,8 @@ const currentSolcVersion = require('../package.json').dependencies.solc; const TestEvents = { request: (cmd, cb) => { cb(currentSolcVersion); - } + }, + emit: (_ev, _data) => {} }; describe('embark.Contracts', function() {