mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 16:36:22 +00:00
Update import-project-dialog.component.spec.ts
This commit is contained in:
parent
f92894d4c2
commit
5a82f982a9
@ -122,12 +122,11 @@ describe('ImportProjectDialogComponent', () => {
|
|||||||
|
|
||||||
fileSelectDirective.onChange();
|
fileSelectDirective.onChange();
|
||||||
|
|
||||||
const expectedArguments = [
|
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(
|
||||||
debugElement.nativeElement.files,
|
debugElement.nativeElement.files,
|
||||||
fileSelectDirective.getOptions(),
|
fileSelectDirective.getOptions(),
|
||||||
fileSelectDirective.getFilters()
|
fileSelectDirective.getFilters()
|
||||||
];
|
);
|
||||||
expect(fileSelectDirective.uploader.addToQueue).toHaveBeenCalledWith(...expectedArguments);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should call uploading item', () => {
|
it('should call uploading item', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user