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
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