forwardemail / forwardemail/supertest
Is it possible to add directly to the request with supertest?
Open
- Dominant language
- JavaScript
- Stars
- 14.4k
- Forks
- 782
- PR merge metrics
- No merged PRs in 30d
Description
In my project we use passport for authentication, and doing so allows us to access the account of the user making the request by saying `req.account`. Is there a way in supertest that the same functionality can be achieved, so that an `account` object can be appended to the request and read in the route for testing?
Contributor guide
Assessment
This issue has not been assessed yet.