Unit test always return undefined when authenticator.authenticate is called. #220
llllOllOOll
started this conversation in
General
Replies: 1 comment 1 reply
-
That’s expected, the redirects are thrown so you need to assert the thrown value. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, how are you? I would like to ask for your help to review a test I wrote to test a feature that uses remix-auth. I would like to know if what I am trying to do is possible or if I need to use another tool to perform this type of test. What I noticed is that I cannot capture the return of the authenticator.authenticate method after the redirect, I always get 'undefined
Beta Was this translation helpful? Give feedback.
All reactions