mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[DURACOM-191] fix some tests
This commit is contained in:
@@ -48,7 +48,13 @@ describe('BrowseByPageComponent', () => {
|
||||
{ provide: ActivatedRoute, useValue: activatedRoute },
|
||||
{ provide: ThemeService, useValue: themeService },
|
||||
],
|
||||
}).compileComponents();
|
||||
})
|
||||
.overrideComponent(BrowseByPageComponent, {
|
||||
remove: {
|
||||
imports: [BrowseBySwitcherComponent],
|
||||
},
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BrowseByPageComponent);
|
||||
component = fixture.componentInstance;
|
||||
|
Reference in New Issue
Block a user