title: get request parameter from axios mock in test
body: <p>I create dynamically a request string in my react application, passing it to axios.get to request some data from REST interface.
  In my react test, I mock axios with</p>
  <pre><code>axios.get.mockResolvedValue({
    data: {
      list: [
        { name: &quot;Name 1&quot;, id: 0 },
        { name: &quot;Name 1&quot;, id: 0 }
        etc
      ]
    }
  })
  </code></pre>
  <p>Which gives me always a static result - which is fine. But now, I also want to test depending on the dynamically created search term, so the question is: How do I get the request string/parameter from axios.get function in my mock?</p>