mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
refactored upload away from multipart forms to binary data
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user