-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/#23 EPS, PER, 시가총액 등 주식 상세 정보 기능 추가 #156
Conversation
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.
}) | ||
@ApiOkResponse({ | ||
description: '주식 상세 정보 조회 성공', | ||
example: { |
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.
example 대신에 type: StockDetailResponse를 사용하면 StockDetailResponsed에서 설정한 example 값이 스웨거에 출력됩니다!
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.
감사합니다! 반영 완료했습니다!
expect(managerMock.findBy).toHaveBeenCalledWith(StockDetail, { | ||
stock: { id: stockId }, | ||
}); | ||
expect(result).toBeInstanceOf(StockDetailResponse); |
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.
instanceOf도 체크하시는 이유가 궁금합니다!
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.
너무 많은 것을 검증하려고 하면 오히려 리펙토링 내성이 약해질 우려가 있어서 질문했습니다!
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.
이 부분 피드백 감사합니다! 반영 완료했습니다!
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.
좋은 피드백 너무나 감사합니다!
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.
LGTM 🧔
close #23
✅ 작업 내용
✍ 궁금한 점
😎 체크 사항