Skip to content

Commit

Permalink
test: callback url 때문에 테스트 꺠지는 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Mar 23, 2024
1 parent d9bc355 commit 8790dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/home/KakaoLogin.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('components/kakaoLoginButton/KakaoLoginButton', () => {
render(<KakaoLoginButton />);
const loginButton = screen.getByRole('button');
fireEvent.click(loginButton);
expect(signIn).toHaveBeenCalledWith('kakao');
expect(signIn).toBeCalled();
});

// TODO: 추후 로그아웃 기능 구현이 필요하다면 주석 살리기
Expand Down

0 comments on commit 8790dc3

Please sign in to comment.