mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
feat: migrate everything to standalone and fix build errors
This commit is contained in:
@@ -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(() => {
|
||||
|
Reference in New Issue
Block a user