From c92d2cb209ae282a74227e085d5850e3a4d675f9 Mon Sep 17 00:00:00 2001 From: RaisSabeAndrade Date: Fri, 8 Dec 2023 19:29:15 -0300 Subject: [PATCH] Teste para ativar conta --- .../pages/active-account/active-account.component.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) 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(); + });