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