From ca6733c88e94c4e0d8d916eb4d494d4c8a179aa4 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Thu, 9 Nov 2017 15:00:02 +0000 Subject: Stub DomUtils.consumeKeyup to fix handler stack tests --- tests/unit_tests/handler_stack_test.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests/handler_stack_test.coffee b/tests/unit_tests/handler_stack_test.coffee index 7b62af07..374c235b 100644 --- a/tests/unit_tests/handler_stack_test.coffee +++ b/tests/unit_tests/handler_stack_test.coffee @@ -4,6 +4,7 @@ extend(global, require "../../lib/handler_stack.js") context "handlerStack", setup -> stub global, "DomUtils", {} + stub DomUtils, "consumeKeyup", -> stub DomUtils, "suppressEvent", -> stub DomUtils, "suppressPropagation", -> @handlerStack = new HandlerStack -- cgit v1.2.3