           keymapManager.onDidReloadKeymap -> reloaded = true
 
           afterWaiting = ->
-            assert(!reloaded)
+            assert(not reloaded)
 
             # Can start watching again after cancelling
             keymapManager.loadKeymap(keymapFilePath, watch: true)

      it "does not prevent the event's default action", ->
        event = buildKeydownEvent(key: 'q')
        keymapManager.handleKeyboardEvent(event)
        assert(!event.defaultPrevented)
    describe "when the keystroke matches one binding on any particular element", ->
      [events, elementA, elementB] = []



      event = buildKeydownEvent(key: 'A', shiftKey: true, target: document.body)
      keymapManager.handleKeyboardEvent(event)
      assert(not event.defaultPrevented)

    it "rejects bindings with an empty command and logs a warning to the console", ->
      stub(console, 'warn')
