title: Mocha change timeout for afterEach
body: <p>I am writing a node application with mocha and chai. Some of the tests call an external API for integration tests, which might take up to 90sec to perform the action.</p>
  
  <p>In order to cleanup properly, I defined an <code>afterEach()</code>-block, which will delete any generated remote resources, in case an expect fails and some resources weren't deleted.</p>
  
  <p>The tests themselves have an increased timeout, while the rest of the tests should retain their default and small timeout:</p>
  
  <pre><code>it('should create remote resource', () =&gt; {...}).timeout(120000)
  </code></pre>
  
  <p>However, I can't do the same with <code>afterEach().timeout(120000)</code>, because the function does not exist - nor can I use the <code>function ()</code>-notation due to the unknown resource names:</p>
  
  <pre><code>describe('Resources', function () {
    beforeEach(() =&gt; {
      this._resources = null
    })
  
    it('should create resources', async () =&gt; {
      this._resources = await createResources()
      expect(false).to.equal(true)   // fail test, so...
      await deleteResources()        // will never be called
    })
  
    afterEach(async() =&gt; {
      this._resources.map(entry =&gt; {
        await // ... delete any created resources ...
      })
    }).timeout(120000)
  })
  </code></pre>
  
  <p>Any hints? Mocha is version 4.0.1, chai is 4.1.2</p>