Hi, I would like to use nock to mock the API call behaind `thirdPartySignInUpPOST` because of some a...
i
Hi, I would like to use nock to mock the API call behaind
thirdPartySignInUpPOST
because of some account linking logic we do after it that I would like to test. can you help me understand how the request path looks like and what should be an example of the response? I'm going to use nock to do that if it makes any difference for you
I want to test it cause what we see is the following: 1. we have an OTP code signup account 2. we login with social media account 3. we link them and ask the OTP code to be the primary 4. the primary user email become the social media email There is a chance we are doing something wrong but I do want to find a way to test it without using the browser to do the social media flow
3 Views