Skip to main content

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.

Be the first to reply!

Reply