1/22/2018
•
EN
Stubbing Node Authentication Middleware with Sinon
A tutorial on using Sinon.js to stub Passport authentication middleware and database calls in a Node.js and Koa API for isolated testing.