Comments (6)
You probably know you need the next version of superagent to get busboy to work with supertest, if you were planning to use that: ladjs/superagent#310
from multer.
Thanks for pointing that out, actually I was having some issues with the uploads.
from multer.
I have forked the repo, and forked the supertest repo to use master of superagent. I added a very simple test that uploads a file. The test is working: https://travis-ci.org/sigurdga/multer
I don't know if you want any of this, but at least there is a minimal working example.
from multer.
you can take the tests from https://github.com/cojs/busboy
from multer.
+1 -- I'd update the deps, but I have no way of testing.
from multer.
Finally wrote tests.
@jonathanong I didn't take the tests from https://github.com/cojs/busboy, though; as I wanted the tests to be more intensive. Let me know if I missed anything.
from multer.
Related Issues (20)
- Error: Invalid 'path' Argument Type in File Upload Code HOT 6
- how can I upload image or json file ? HOT 1
- Why Postman filename is right, but in the web I use formdata.append() the filename is rong? HOT 1
- ERROR UPLOADING FILE
- ERROR UPLOADING FILE using the javascript and I also use multer in handling the fileupload HOT 4
- Translation of Documentation to Indonesian
- Multer gives error on serverless if using without express js
- Error in uploading a photo in javascript using a multer. HOT 1
- There is a way to effectively add a custom Error handler to multer? HOT 2
- (love) Just to tell you how great your software is HOT 1
- TypeError: Cannot read properties of undefined (reading 'length') when fieldNameSize is not set
- Upgrade to the latest version of busboy to prevent potential DOS attack via Dicer HOT 1
- File upload got stuck while uploading large text files HOT 1
- Upload file use Multer with Multer-gridfs-storage in environment of bun is not working but when I use environment of nodejs then it's working?
- req.file returning Undefined on frontend, but with Insomnia returns correctly HOT 3
- Custom storage engine not working
- MulterError: Unexpected field when trying to use different storage configuration
- Update Docs: Error: read ECONNRESET thrown during test using supertest, mocha but works fine while using postman. HOT 1
- Why does Multer does not release memory?
- `preservePath` option not respected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multer.