title: Nock not working within functions wrapped with Middy
body: <p>I'm working on a project which uses middy and we have a custom middleware set up to validate auth tokens sent with Auth0. As part of this Auth0 makes an external request. I've been using <a href="https://github.com/nock/nock" rel="nofollow noreferrer">Nock</a> to mock these requests. What I'm finding is that if I test a function that is not wrapped in <code>middy()</code>, Nock works as expected and intercepts the request. However, if I try to test the function wrapped in <code>middy()</code> ( e.g. to ensure that all middlewares are being applied correctly ) then it fails. I've set up a very very basic example <a href="https://github.com/matt-sanders/middy-nock-error" rel="nofollow noreferrer">here</a>. It just tests two functions, exactly the same, one wrapped and one not wrapped. Notice how as soon as the function is wrapped, something happens which causes Nock to not apply the interceptor correctly. I'm not sure if this is an issue with middy or Nock. I opened an issue with <a href="https://github.com/middyjs/middy/issues/501" rel="nofollow noreferrer">middy</a> but have so far heard nothing.</p>
  
  <p>Any help is greatly appreciated!</p>