In this video I'm showing how I'm testing the login feature using the Sinon and Mocha libraries. The login uses a mongoose model for email search, bcryptjs for passwords comparasion and the jsonwebtoken library to generate JWT tokens.
Category
🦄
Creativity