mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 08:25:35 +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();
|
||||
|
||||
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', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user