Skip to content

Adds tests for checkAuth route handler using previously defined mockRequest and mockResponse.

The route just reads from res.session.data and depending on the contents of the session, 401s (session is empty/invalid) or 200s with part of the contents of it.

Assets 2
You can’t perform that action at this time.