mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
Node 18 spec fix
This commit is contained in:
@@ -457,7 +457,6 @@ describe('ItemComponent', () => {
|
|||||||
beforeEach(waitForAsync(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
router = TestBed.inject(Router);
|
router = TestBed.inject(Router);
|
||||||
spyOn(router, 'navigateByUrl');
|
spyOn(router, 'navigateByUrl');
|
||||||
spyOn(mockRouteService, 'getPreviousUrl').and.returnValue(observableOf(''));
|
|
||||||
TestBed.compileComponents();
|
TestBed.compileComponents();
|
||||||
fixture = TestBed.createComponent(ItemComponent);
|
fixture = TestBed.createComponent(ItemComponent);
|
||||||
comp = fixture.componentInstance;
|
comp = fixture.componentInstance;
|
||||||
|
Reference in New Issue
Block a user