Skip to main content

Stubbing API responses

  • January 20, 2023
  • 0 replies
  • 12 views

Has anyone been successful with ways to mock or stub responses from the API for unit tests? For instance, I have some code that responds differently based on whether they are active maintenance windows or not and I’ll like to be able to test both branches.