With the addition of the authentication middleware (#120), integration tests have started to fail because they now need to be associated with an authenticated login cookie.
To Do (testing)
[x] NODE_ENV
[x] Create a test user to be generated only in development environment
[x] in setup.js before all tests, create a test hook to obtain authentication cookie
Description
With the addition of the authentication middleware (#120), integration tests have started to fail because they now need to be associated with an authenticated login cookie.
To Do (testing)
setup.js
before all tests, create a test hook to obtain authentication cookie