title: How do you verify that a request was made with axios-mock-adapter?
body: <p>I am using <a href="https://github.com/ctimmerm/axios-mock-adapter" rel="noreferrer">https://github.com/ctimmerm/axios-mock-adapter</a></p>
  
  <p>I would like to know how can I verify that an endpoint was actually called by the system under test.</p>
  
  <p>In this example:</p>
  
  <pre><code>var axios = require('axios');
  var MockAdapter = require('axios-mock-adapter');
  
  // This sets the mock adapter on the default instance
  var mock = new MockAdapter(axios);
  
  // Mock any GET request to /users
  // arguments for reply are (status, data, headers)
  mock.onGet('/users').reply(200, {
    users: [
      { id: 1, name: 'John Smith' }
    ]
  });
  </code></pre>
  
  <p>How could I tell if a get on '/users' was called?</p>
  
  <p>I am looking for something similar to what you can do in Jest:</p>
  
  <pre><code>expect(mockFunc).toHaveBeenCalledTimes(1)
  </code></pre>
  
  <p>I realise I can use some custom logic when using a function to reply, and setting a local variable indicating if the request has been made. I was just wondering if there was a cleaner way of doing this.</p>