Skip to content

Commit

Permalink
Stub DomUtils.consumeKeyup to fix handler stack tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmr1993 committed Nov 9, 2017
1 parent ac3310d commit ca6733c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit_tests/handler_stack_test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca6733c

Please sign in to comment.