From e6911a5e151589983e920b5fbe448bc66c2bc414 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Fri, 31 Aug 2018 19:01:00 +0100 Subject: [PATCH] Fix test --- test/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/console.js b/test/console.js index dac075a7f..f02d4a992 100644 --- a/test/console.js +++ b/test/console.js @@ -8,7 +8,7 @@ let version = require('../package.json').version; describe('embark.Console', function() { let ipc = new IPC({ipcRole: 'none'}); let plugins = new Plugins({plugins: {}}); - let events = {on: () => {}, setCommandHandler: () => {}, emit: () => {}}; + let events = {once: () => {}, setCommandHandler: () => {}, emit: () => {}}; let console = new Console({}, {plugins, version, ipc, events}); describe('#executeCmd', function() {