From 8790dc3b4351eeb122d04dfeb8a4024f2cf378a2 Mon Sep 17 00:00:00 2001 From: hyesungoh Date: Sat, 23 Mar 2024 22:54:38 +0900 Subject: [PATCH] =?UTF-8?q?test:=20callback=20url=20=EB=95=8C=EB=AC=B8?= =?UTF-8?q?=EC=97=90=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EA=BA=A0=EC=A7=80?= =?UTF-8?q?=EB=8A=94=20=EA=B2=83=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/home/KakaoLogin.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/home/KakaoLogin.test.tsx b/src/features/home/KakaoLogin.test.tsx index c6be50f5..d69491e5 100644 --- a/src/features/home/KakaoLogin.test.tsx +++ b/src/features/home/KakaoLogin.test.tsx @@ -31,7 +31,7 @@ describe('components/kakaoLoginButton/KakaoLoginButton', () => { render(); const loginButton = screen.getByRole('button'); fireEvent.click(loginButton); - expect(signIn).toHaveBeenCalledWith('kakao'); + expect(signIn).toBeCalled(); }); // TODO: 추후 로그아웃 기능 구현이 필요하다면 주석 살리기