#Redirection in Testing is Always Valued False
1 messages · Page 1 of 1 (latest)
I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, it seems like you're encountering an issue with testing redirection in the Fresh framework.
Without seeing the actual code, it's difficult to provide a precise solution. However, if you're checking the redirected property on a Response object in your tests, make sure that you're simulating the redirection correctly and that the Response object is being created with the appropriate properties.
Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of the advice given. If you continue to experience issues, you might want to look into the Fresh framework's documentation or source code for more insights on how redirection is handled, or reach out to the community for further assistance.
I guess it's how it works on server compared to browser (?)