this is the question: https://stackoverflow.com/questions/68189197/mock-different-results-of-an-api-called-inside-react-component-in-jest