aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormrmr19932017-11-09 15:00:02 +0000
committermrmr19932017-11-09 15:00:02 +0000
commitca6733c88e94c4e0d8d916eb4d494d4c8a179aa4 (patch)
tree11bc262e83097087d8363e82c4e0295e89628be3 /tests
parentac3310d23fa0367b6130a4b05fe41192410fadb3 (diff)
downloadvimium-ca6733c88e94c4e0d8d916eb4d494d4c8a179aa4.tar.bz2
Stub DomUtils.consumeKeyup to fix handler stack tests
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/handler_stack_test.coffee1
1 files changed, 1 insertions, 0 deletions
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