 
       event = buildKeydownEvent(key: 'A', shiftKey: true, target: document.body)
       keymapManager.handleKeyboardEvent(event)
-      assert(!event.defaultPrevented)
+      assert(not event.defaultPrevented)
 
     it "rejects bindings without a command and logs a warning to the console", ->
       stub(console, 'warn')

          event = buildKeydownEvent(key: 'y', ctrlKey: true, target: elementB)
          keymapManager.handleKeyboardEvent(event)
          assert.deepEqual(events, [])
          assert(!event.defaultPrevented)

      describe "if the matching binding's command is 'unset!'", ->
        it "continues searching for a matching binding on the parent element", ->

          keymapManager.onDidReloadKeymap -> reloaded = true

          afterWaiting = ->
            assert(not reloaded)

            # Can start watching again after cancelling
            keymapManager.loadKeymap(keymapFilePath, watch: true)
