upgraded to angular 8

This commit is contained in:
lotte
2020-02-13 11:09:20 +01:00
parent 3bbd05f588
commit 04cb75e786
106 changed files with 1959 additions and 1417 deletions

View File

@@ -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;