diff options
| author | mrmr1993 | 2017-11-09 15:00:02 +0000 |
|---|---|---|
| committer | mrmr1993 | 2017-11-09 15:00:02 +0000 |
| commit | ca6733c88e94c4e0d8d916eb4d494d4c8a179aa4 (patch) | |
| tree | 11bc262e83097087d8363e82c4e0295e89628be3 /tests | |
| parent | ac3310d23fa0367b6130a4b05fe41192410fadb3 (diff) | |
| download | vimium-ca6733c88e94c4e0d8d916eb4d494d4c8a179aa4.tar.bz2 | |
Stub DomUtils.consumeKeyup to fix handler stack tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit_tests/handler_stack_test.coffee | 1 |
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 |
