title: how to assert if the api is fired from the Mock Service Worker with desired payload , while using react testing library?
body: <p>I have a react component that is want to test, which makes API requests.
  The MSW is working fine for mocking the API request.</p>
  <p>but, my component also makes some calls that do not have side effects like after submitting the form.</p>
  <p>how to assert if the API is fired to correct URL and with correct data.
  for example <code>expect(apiRequest).iscalledwithpayload(date)</code></p>