We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Request.redirect() isn't currently mocked.
Request.redirect()
https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect
I'm currently using this:
Response.redirect = (url: string, status: number = 302) => new Response(null, { headers: { Location: url, }, status, } );
The text was updated successfully, but these errors were encountered:
Agreed, I think it's worth adding this if you wanted to submit a PR
Sorry, something went wrong.
No branches or pull requests
Request.redirect()
isn't currently mocked.https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect
I'm currently using this:
The text was updated successfully, but these errors were encountered: