diff --git a/test/compiler.js b/test/compiler.js index 7f9a8649..8aa9cdca 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 e340e74a..e9cc2977 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() {