CodeRoyale / userAPI

User API for CodeRoyale
6 stars 1 forks source link

Mock-Passport-Strategy for API Testing #27

Open SAchu47 opened 3 years ago

SAchu47 commented 3 years ago

Presently the repo is using a mock login route to login and tests the APIs. The task is to remove the mock login route and configure Mock-Passport-Strategy to log in and test the authenticated API(Middleware).

Link: https://www.npmjs.com/package/passport-mock-strategy