I have a component inside a page, which uses the users session. The component has an "isLoading" state that is true by default. The loading only finishes if the users session is valid and some stuff has been done with it. I need to do testing with jest on the content of the component after loading. Is there some way to mock/fake a valid session using jest, or can I read more about it somewhere?