mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Add abort stub in JSUnit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
9204ce7d3d
commit
a938f0ea9d
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ describe('OC.Upload tests', function() {
|
|||
files: [file],
|
||||
jqXHR: jqXHR,
|
||||
response: sinon.stub().returns(jqXHR),
|
||||
submit: sinon.stub()
|
||||
submit: sinon.stub(),
|
||||
abort: sinon.stub()
|
||||
};
|
||||
if (uploader.fileUploadParam.add.call(
|
||||
$dummyUploader[0],
|
||||
|
|
|
|||
Loading…
Reference in a new issue