feat(be): modify user service unit test - #3664
Conversation
| profileImageUrl: | ||
| 'https://api.dicebear.com/9.x/notionists/svg?seed=${user.username}', |
There was a problem hiding this comment.
profileImageUrl 부분 백틱으로 변경해주세요.
https://api.dicebear.com/9.x/notionists/svg?seed=${user.username}
| describe('updateUser', () => { | ||
| it('should update user successfully', async () => { |
There was a problem hiding this comment.
afterEach(() => {
db.user.update = stub().resolves(user)
})
위와 같이 describe와 it 사이에 after 훅 추가해서 매 테스트마다 초기화해주세요
|
https://claude.ai/code/artifact/08cedb99-40e0-4b96-bbb5-5e739411225e 현재 PR에서 소셜 로그인 관련 bruno 문서와 Unit Test를 모두 커버하고 있지 않아서 추가적인 작업이 필요할 것 같습니다. 개인적으로는 문서에서 |
|
추가적인 작업도 별도로 branch 만들어서 작업해주시고, |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Description
화이트리스트 제거로 인한 test 수정 진행했습니다.
user.service.spec.ts수정updateUser성공 테스트 추가bruno 수정
Additional context
Before submitting the PR, please make sure you do the following
fixes #123).