This commit is contained in:
Daniel Imms 2016-07-22 05:18:28 -07:00
parent 495b2d7fbb
commit e2d0de2686

View File

@ -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 () {