From e2d0de26866c609d2dd040f2e090e4399e889c33 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 22 Jul 2016 05:18:28 -0700 Subject: [PATCH] Fix test --- test/test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test.js b/test/test.js index b5ba1305..d2842f81 100644 --- a/test/test.js +++ b/test/test.js @@ -68,6 +68,13 @@ describe('xterm.js', function() { xterm.handler = function() {}; xterm.showCursor = function() {}; xterm.clearSelection = function() {}; + xterm.compositionHelper = { + keydown: { + bind: function() { + return function () { return true; } + } + } + } }); it('should process the keydown event based on what the handler returns', function () {