 {expect, assert} = require "chai"
 utils = require "../utils"
-cheerio = require 'cheerio'
 sinon = require 'sinon'
 
 {UIEvents} = utils.require "core/ui_events"
-
 # Stub out _hammer_element as not used in testing
 stub = sinon.stub(UIEvents.prototype, "_configure_hammerjs")
+
+dom = utils.require("core/dom")
+{Tap, MouseMove} = utils.require("core/bokeh_events")
 
 {CrosshairTool} = utils.require("models/tools/inspectors/crosshair_tool")
 {PanTool} = utils.require("models/tools/gestures/pan_tool")


        assert(@spy_trigger.calledOnce)
        expect(@spy_trigger.args[0]).to.be.deep.equal(["pan:#{gesture.id}", @e])

{Toolbar} = utils.require("models/tools/toolbar")

describe "ui_events module", ->

  afterEach ->
    utils.unstub_canvas()
