Fix and test for issue #194#200
Fix and test for issue #194#200qqilihq wants to merge 4 commits intoexpressjs:masterfrom qqilihq:master
Conversation
|
Would you mind fixing the following style issues so that the travis build will run 👍 |
test/express-integration.js
Outdated
There was a problem hiding this comment.
Not that important but I would prefer:
after(function (done) {
rimraf(uploadDir, done)|
Sorry, fixed now. |
|
No problem, I'm trying to figure out why this works. I remember that I had the Also, maybe the check for aborting should be moved to |
|
I moved the checking of the aborting flag, as suggested. My problem was, that in case I was using the disk storage, and the limit was hit, the express route handler was getting called, instead of the error handler. That's why I introduced the Not sure why the CI test is failing now, works locally for me? |
|
I restarted the CI job, it seems like it worked this time 😕 |
|
Hi Linus, not sure about the reason for the fail above. Running it locally several times gave no failure at all. PS: Still wishful for getting that merged or fixed otherwise :) |
|
This should be fixed by #205 now :) |
|
Hi Linus, thank you, however I'm still having that problem. As soon as I use the Best, |
Fix for error handling for
fileSizelimit; in case diskStorage was used, route was called when limit was hit, instead of error.