diff --git a/src-ui/src/app/components/common/toasts/toasts.component.spec.ts b/src-ui/src/app/components/common/toasts/toasts.component.spec.ts index 3891347d2..404311ec5 100644 --- a/src-ui/src/app/components/common/toasts/toasts.component.spec.ts +++ b/src-ui/src/app/components/common/toasts/toasts.component.spec.ts @@ -52,7 +52,7 @@ describe('ToastsComponent', () => { }) it('should call getToasts and return toasts', fakeAsync(() => { - const spy = jest.spyOn(toastService, 'getToasts').mockReset() + const spy = jest.spyOn(toastService, 'getToasts') component.ngOnInit() fixture.detectChanges()