Hello,
I'm wondering how to test authentication with passport. I'm using mocha ( and supertest ) and I didn't find a way to test controllers that depend on req.isAuthenticated()?
It would be really useful to see the test on the example here,
https://github.com/jaredhanson/passport-local/tree/master/examples/express3
Bests regards,
olivier