refactored upload away from multipart forms to binary data

This commit is contained in:
Danny Coates 2018-05-31 14:06:25 -07:00
parent 196d4211b6
commit af7a262ef0
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
9 changed files with 56 additions and 93 deletions

View file

@ -98,7 +98,7 @@ describe('S3Storage', function() {
on: (ev, fn) => fn()
};
const abort = sinon.stub();
const err = new Error();
const err = new Error('limit');
s3Stub.upload = sinon.stub().returns({
promise: () => Promise.reject(err),
abort