I’m currently implementing a component (react with typescript) to display the overwolf user (or at least some of the information). I want to display name and avatar, which works great.
So there is a little issue during testing. I have to be logged in, to get the right result by the api and even start the app to test. But when logged out, i cant open the app and so can`t test the state and response of the custom hook.
Is there a workaround or way of properly testing it?
thanks for helping