How can I test the true case using Jest in this scenario.
I believe I need to use mock, but I don\'t know how to make the test code in this case.
I have my cla