-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[클린코드 7기 원건우] 자동차 경주 미션 STEP 5 #321
base: rjsdnql123
Are you sure you want to change the base?
Conversation
함수 명 변경 randomNumber -> generateRandomNumber
view 로직을 output 을 담당하는 main.js 로 분리 하였습니다.
array 를 string으로 변환하는 책임을 분리 하였습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요 건우님! 마지막 미션까지 고생 많으셨습니다 ㅎㅎ
최대한 view, domain의 목적을 분리하고 참조 방향을 잘 맞추려고 해주신 듯 하네요.
코멘트 남겨두었으니 확인 부탁드리고 재요청 주세요~~!
과제 요구 사항에 jest.fn을 사용하지 않는 이유가 있을까요??
이 부분은 확인 후 답변 드릴게요 !
테스트 하기 어려운 부분을 모킹으로 해결해버리면, 어떤 것이 단위 테스트로 해결 가능한 부분인지 판단이 흐려질 것을 우려하여 설정해둔 제약사항으로 보이네요! |
늦었네요 ㅠㅠ 수정 모두 되었습니다! |
그렇군요.. 잘 사용할 수 있을 때 사용하는것이 좋겟네요! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요 건우님~! 수정 후 요청 주신 걸 제가 놓쳐 approve 시점이 늦어졌네요 🥲 리뷰 반영된 부분 모두 확인하였습니다! 5단계까지 진행하시느라 고생많으셨어요 ~~
마지막 날이라 STEP5 리뷰 전에 제출합니다!
기능 요구사항
신경쓴점
Domain 로직이 view 로직에 의존 하지 않도록 작성 하였습니다.
궁금한점
과제 요구 사항에
jest.fn
을 사용하지 않는 이유가 있을까요??