Node 18 spec fix

This commit is contained in:
Michael Spalti
2022-12-19 15:21:29 -08:00
parent d34cea1215
commit c28f165923

View File

@@ -457,7 +457,6 @@ describe('ItemComponent', () => {
beforeEach(waitForAsync(() => {
router = TestBed.inject(Router);
spyOn(router, 'navigateByUrl');
spyOn(mockRouteService, 'getPreviousUrl').and.returnValue(observableOf(''));
TestBed.compileComponents();
fixture = TestBed.createComponent(ItemComponent);
comp = fixture.componentInstance;