Update toasts.component.spec.ts
This commit is contained in:
parent
43fdeabcf7
commit
81dd17acb2
@ -52,7 +52,7 @@ describe('ToastsComponent', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should call getToasts and return toasts', fakeAsync(() => {
|
it('should call getToasts and return toasts', fakeAsync(() => {
|
||||||
const spy = jest.spyOn(toastService, 'getToasts').mockReset()
|
const spy = jest.spyOn(toastService, 'getToasts')
|
||||||
|
|
||||||
component.ngOnInit()
|
component.ngOnInit()
|
||||||
fixture.detectChanges()
|
fixture.detectChanges()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user