Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

checkAuth tests

Choose a tag to compare
@HugoDF HugoDF released this 17 Feb 19:17

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

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