   describe 'with an active stacktrace', ->
 
     beforeEach ->
+      trace.register()
       trace.activate()
 
     it 'should be visible', ->


  afterEach ->
    Stacktrace.getActivated()?.deactivate()

  it 'attaches itself to the workspace', ->
    expect(view).not.toBeNull()

      expect(text).toEqual('Boom')

    it 'navigates back to the trace on a click', ->
      waitsForPromise -> view.backToTrace()

      runs ->
        expect(atom.workspaceView.getActiveView().hasClass 'traceview').toBeTruthy()

    it 'deactivates the trace', ->
      view.deactivateTrace()
