title: testing axios api call which has a timeout
body: <p>I have an <code>axios</code> api , for which I am setting the default timeout of 5000ms (5 secs).
  I would like to unit test a stub which should throw me the timeout exception/ promise rejection with the error code <code>ECONNABORTED</code>.
  But whenever I try to call the api after mocking it using moxios, I get this error : <code>Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.</code></p>
  
  <p>PS: using <code>Jest</code> as my test running.</p>