New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are the types in net-stubbing correct? #8694
Comments
yeah, cypress/packages/net-stubbing/lib/external-types.ts Lines 69 to 70 in 857fcf9
and these could use some tsdocs: cypress/packages/net-stubbing/lib/external-types.ts Lines 49 to 55 in 857fcf9
does that cover it? |
The code for this is done in cypress-io/cypress#8698, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Cypress v5.3.0
Trying to write a test that shows how to modify the response from the server
Looking at IntelliSense suggested here
Ok, no JSDoc, fine, let's look at d.ts
So we have
reply(interceptor)
I guess, since we want to add to the response from the serverOk, so
res
and optionalsend
...Ohhh,
res.send
is a function, there is no second parameterThe text was updated successfully, but these errors were encountered: