Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Mendoza Fernadez authored and Leonardo Mendoza Fernadez committed Dec 15, 2023
1 parent e841a46 commit e9eda68
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -10,7 +11,7 @@ describe('SettingsActionsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [SettingsActionsComponent],
providers: [WINDOW_PROVIDERS],
providers: [WINDOW_PROVIDERS, { provide: ActivatedRoute, useValue: {} }],
}).compileComponents()
})

Expand Down

0 comments on commit e9eda68

Please sign in to comment.