diff --git a/test/console.js b/test/console.js index dac075a7..f02d4a99 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() {