mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
upgraded to angular 8
This commit is contained in:
@@ -86,7 +86,7 @@ describe('SubmissionSectionUploadFileComponent test suite', () => {
|
||||
imports: [
|
||||
BrowserModule,
|
||||
CommonModule,
|
||||
NgbModule.forRoot(),
|
||||
NgbModule,
|
||||
TranslateModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
@@ -190,7 +190,7 @@ describe('SubmissionSectionUploadFileComponent test suite', () => {
|
||||
expect(comp.fileData).toEqual(fileData);
|
||||
});
|
||||
|
||||
it('should call deleteFile on delete confirmation', fakeAsync(() => {
|
||||
it('should call deleteFile on delete confirmation', () => {
|
||||
spyOn(compAsAny, 'deleteFile');
|
||||
comp.fileData = fileData;
|
||||
|
||||
@@ -209,7 +209,7 @@ describe('SubmissionSectionUploadFileComponent test suite', () => {
|
||||
fixture.whenStable().then(() => {
|
||||
expect(compAsAny.deleteFile).toHaveBeenCalled();
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||
it('should delete file properly', () => {
|
||||
compAsAny.pathCombiner = pathCombiner;
|
||||
|
Reference in New Issue
Block a user