   describe 'wrapper with sentry enabled', ->
     beforeEach ->
       sinon.spy @sentry, 'error'
-      scope = nock('https://app.getsentry.com')
-        .filteringRequestBody(/.*/, '*')
-        .post("/api/#{sentry_settings.project_id}/store/", '*')
-        .reply(200, 'OK')
-
-    afterEach ->
-      @scope.done()
+      @scope = nock('https://app.getsentry.com')
+        .filteringRequestBody(/.*/, '*')
+        .post("/api/#{sentry_settings.project_id}/store/", '*')
+        .reply(200, 'OK')
 
     it 'calls the given fn with its args and passes through the results', (done) ->
       wrapper = @sentry.wrapper 'logger'

        assert.deepEqual err, null
        assert not @sentry.error.called, 'Expected sentry.error to not be called'
        done()

    it 'sends to Sentry if the given function produces an error and globals has value', (done) ->
      wrapper = @sentry.wrapper 'logger'

        # The 'extra' param should have the args the function was called with
        assert.deepEqual @sentry.error.firstCall.args[3].args, expected_args
        done()
      return

    it 'doesnt send to Sentry if the given function produces no error', (done) ->
      wrapper = @sentry.wrapper 'logger'
