chore(bump): updated versions
This commit is contained in:
758
package-lock.json
generated
758
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -93,9 +93,8 @@ describe('Directive: FileDropDirective', () => {
|
|||||||
fileDropDirective.onDrop(getFakeEventData());
|
fileDropDirective.onDrop(getFakeEventData());
|
||||||
|
|
||||||
const uploadedFiles = getFakeEventData().dataTransfer.files;
|
const uploadedFiles = getFakeEventData().dataTransfer.files;
|
||||||
const expectedArguments = [ uploadedFiles, fileDropDirective.getOptions(), fileDropDirective.getFilters() ];
|
|
||||||
|
|
||||||
expect(fileDropDirective.uploader.addToQueue).toHaveBeenCalledWith(...expectedArguments);
|
expect(fileDropDirective.uploader.addToQueue).toHaveBeenCalledWith(uploadedFiles, fileDropDirective.getOptions(), fileDropDirective.getFilters());
|
||||||
expect(fileOverData).toBeFalsy();
|
expect(fileOverData).toBeFalsy();
|
||||||
expect(fileDropData).toEqual(uploadedFiles);
|
expect(fileDropData).toEqual(uploadedFiles);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -91,9 +91,6 @@ describe('Directive: FileSelectDirective', () => {
|
|||||||
|
|
||||||
fileSelectDirective.onChange();
|
fileSelectDirective.onChange();
|
||||||
|
|
||||||
const expectedArguments = [ directiveElement.nativeElement.files,
|
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(directiveElement.nativeElement.files, fileSelectDirective.getOptions(), fileSelectDirective.getFilters());
|
||||||
fileSelectDirective.getOptions(),
|
|
||||||
fileSelectDirective.getFilters() ];
|
|
||||||
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(...expectedArguments);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user