diff options
| author | Stephen Blott | 2016-02-28 14:01:16 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:38:30 +0000 | 
| commit | 520b63cb1d64fb5a293988122007bd05bacc49db (patch) | |
| tree | f3fd0d50edb493e24a543e6627bcd9c975e82c23 /tests/unit_tests | |
| parent | cf7a03dc26415528bc690147ba72c08e67dd65c8 (diff) | |
| download | vimium-520b63cb1d64fb5a293988122007bd05bacc49db.tar.bz2 | |
Key bindings; fix tests...
... and fix two bugs:
- not suppressing keyup event after keyChar matched in keydown.
- we cannot check the passKeys keyChar in keyup because the key state
  has changed; so we track what the next keyup response should be.
Diffstat (limited to 'tests/unit_tests')
| -rw-r--r-- | tests/unit_tests/commands_test.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/unit_tests/commands_test.coffee b/tests/unit_tests/commands_test.coffee index 45cb4cf4..f501a960 100644 --- a/tests/unit_tests/commands_test.coffee +++ b/tests/unit_tests/commands_test.coffee @@ -1,6 +1,6 @@  require "./test_helper.js"  extend global, require "./test_chrome_stubs.js" -global.Settings = {postUpdateHooks: {}} +global.Settings = {postUpdateHooks: {}, get: (-> ""), set: ->}  {Commands} = require "../../background_scripts/commands.js"  context "Key mappings", | 
