You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I have been trying to test an API endpoint for user authentication, but I've been running into an issue with mocking the nuxt-auth-utils functions.
But nothing has been working. I think it is because getUserSession is a utility function, but I'm not sure. Ideally, I would want to be able to mock the outputs of getusersession and setUserSession on a per test basis. Any help at all is appreciated!