9,350 questions
Is there a way to bypass, mock or automate MSAL for end to end testing for React Native application?
Kelly Villalobos
30
Reputation points
I am trying to modernize a React Native application with end to end testing but I have hit a blocker. I am unable to automate the authentication process for MSAL since it is a third party Library. I haven't found any documentation yet that explains either bypassing or controlling the MSAL process in order to get authorization to the application to conduct end to end testing. I know you can mock calls and spy on operations in your application using Jest or cypress but I haven't found any examples pertaining to MSAL. Any help the community can provide would help.
Microsoft Security | Microsoft Authenticator
Sign in to answer