Giter Site home page Giter Site logo

Write tests about multer HOT 6 CLOSED

expressjs avatar expressjs commented on March 29, 2024
Write tests

from multer.

Comments (6)

sigurdga avatar sigurdga commented on March 29, 2024

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.

hacksparrow avatar hacksparrow commented on March 29, 2024

Thanks for pointing that out, actually I was having some issues with the uploads.

from multer.

sigurdga avatar sigurdga commented on March 29, 2024

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.

jonathanong avatar jonathanong commented on March 29, 2024

you can take the tests from https://github.com/cojs/busboy

from multer.

Fishrock123 avatar Fishrock123 commented on March 29, 2024

+1 -- I'd update the deps, but I have no way of testing.

from multer.

hacksparrow avatar hacksparrow commented on March 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.