Mocking a session works and then clears #12191
Unanswered
JasonSimms
asked this question in
Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set a mock session based on a process.env. It works at first and then is cleared. I think the library is calling the handlers route and not getting a wanted response but I can't find a code sample to bypass this.
SETUP:
APP ROUTER
"next": "^14.2.15",
"next-auth": "^4.24.7",
logs
Beta Was this translation helpful? Give feedback.
All reactions