danawoodman / sinon-express-mock

Simple request and response mock objects to pass into Express routes when testing using Sinon.

Home Page:https://www.npmjs.com/package/sinon-express-mock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo: res.attachement

boazdavid opened this issue · comments

according to https://expressjs.com/en/api.html#res.attachment, it should be attachment

Thanks for the PR, sorry for the delay! Published in v2.2.1 🎉