阅读背景:

如何在mocha中使用文件上传进行单元测试

来源:互联网 

I have an app built on Express.js and I'd like to test the file upload functionality. I'm trying to reproduce the object parsed to req.files (when using express.bodyParser middleware). How can I do this?I have an app built on Express.js and I'd like




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: