Update import-project-dialog.component.spec.ts

This commit is contained in:
Piotr Pekala 2019-09-27 05:26:54 -07:00
parent f92894d4c2
commit 5a82f982a9

View File

@ -122,12 +122,11 @@ describe('ImportProjectDialogComponent', () => {
fileSelectDirective.onChange();
const expectedArguments = [
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(
debugElement.nativeElement.files,
fileSelectDirective.getOptions(),
fileSelectDirective.getFilters()
];
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(...expectedArguments);
);
});
it('should call uploading item', () => {