           event = buildKeydownEvent(key: 'y', ctrlKey: true, target: elementB)
           keymapManager.handleKeyboardEvent(event)
           assert.deepEqual(events, [])
-          assert(!event.defaultPrevented)
+          assert(not 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(!reloaded)

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


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

    it "returns a disposable allowing the added bindings to be removed", ->
      disposable1 = keymapManager.add 'foo',
