From e9eda6880952b1d02ff70a86776c6ad47cedc21b Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Fri, 15 Dec 2023 11:59:19 -0600 Subject: [PATCH] fix test --- .../settings-actions/settings-actions.component.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 833399f9d9..4123ff54ea 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 @@ -2,6 +2,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' describe('SettingsActionsComponent', () => { let component: SettingsActionsComponent @@ -10,7 +11,7 @@ describe('SettingsActionsComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ declarations: [SettingsActionsComponent], - providers: [WINDOW_PROVIDERS], + providers: [WINDOW_PROVIDERS, { provide: ActivatedRoute, useValue: {} }], }).compileComponents() })