In this challenge you will create integration tests to verify User endpoints including /login
. And you will update the integration tests for endpoints protected by JWT.
Create a /test/users.test.js
file and copy in the starter from this gist
The setup and Mocha hooks have been completed for you. And note the use of describe.only
which tells Mocha run this suite of tests and skip the others. You'll tackle the other tests later.