feat: migrate everything to standalone and fix build errors

This commit is contained in:
Enea Jahollari
2023-09-25 12:43:29 +02:00
parent 4171ccc8f3
commit 54614c21f0
1311 changed files with 13140 additions and 8009 deletions

View File

@@ -35,19 +35,16 @@ describe('SearchFormComponent', () => {
beforeEach(waitForAsync(() => {
return TestBed.configureTestingModule({
imports: [FormsModule, RouterTestingModule, TranslateModule.forRoot()],
providers: [
imports: [FormsModule, RouterTestingModule, TranslateModule.forRoot(), SearchFormComponent],
providers: [
{ provide: Router, useValue: router },
{ provide: SearchService, useValue: searchService },
{ provide: PaginationService, useValue: paginationService },
{ provide: SearchConfigurationService, useValue: searchConfigService },
{ provide: DSpaceObjectDataService, useValue: dspaceObjectService },
],
declarations: [
SearchFormComponent,
BrowserOnlyMockPipe,
]
}).compileComponents();
],
declarations: [BrowserOnlyMockPipe]
}).compileComponents();
}));
beforeEach(() => {