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
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