 
   describe "NodesAndLinkedEdges", ->
 
-    afterEach ->
-      @gv.node_view.glyph.hit_test.restore()
-
-    beforeEach ->
-      @stub = sinon.stub(@gv.node_view.glyph, "hit_test")
-
     describe "do_selection method", ->
 
       it "should clear edge selections if hit_test result is empty", ->

       x_range: new Range1d({start: 0, end: 1})
       y_range: new Range1d({start: 0, end: 1})
    })

    @plot_view = new @plot.default_view({model: @plot, parent: null})

    @node_source = new ColumnDataSource({
      data: {

      parent: @plot_canvas_view
    })

    @stub = sinon.stub(@gv.node_view.glyph, "hit_test")

  describe "NodesOnly", ->

    describe "do_selection method", ->

