diff --git a/src/app/account-settings/components/settings-actions/settings-actions.component.spec.ts b/src/app/account-settings/components/settings-actions/settings-actions.component.spec.ts index 4123ff54ea..19f90933d6 100644 --- a/src/app/account-settings/components/settings-actions/settings-actions.component.spec.ts +++ b/src/app/account-settings/components/settings-actions/settings-actions.component.spec.ts @@ -3,6 +3,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing' import { SettingsActionsComponent } from './settings-actions.component' import { WINDOW_PROVIDERS } from 'src/app/cdk/window/window.service' import { ActivatedRoute } from '@angular/router' +import { of } from 'rxjs' describe('SettingsActionsComponent', () => { let component: SettingsActionsComponent @@ -11,7 +12,7 @@ describe('SettingsActionsComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ declarations: [SettingsActionsComponent], - providers: [WINDOW_PROVIDERS, { provide: ActivatedRoute, useValue: {} }], + providers: [WINDOW_PROVIDERS, { provide: ActivatedRoute, useValue: {fragment: of({})} }], }).compileComponents() })