diff --git a/src/app/pages/active-account/active-account.component.spec.ts b/src/app/pages/active-account/active-account.component.spec.ts index c65b875b..88a33b41 100644 --- a/src/app/pages/active-account/active-account.component.spec.ts +++ b/src/app/pages/active-account/active-account.component.spec.ts @@ -157,4 +157,9 @@ describe('ActiveAccountComponent', () => { expect(myspy).toHaveBeenCalled(); }); + it('should resend code on clicking "Reenviar Código"', () => { + spyOn(component, 'resendCode'); + component.resendCode(); + expect(component.resendCode).toHaveBeenCalled(); + });