Resolve some warning message during test #1895
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Self Checklist
Related Issue
Summary
yarn test
실행 시 테스트 코드에서 나오는 warning message의 일부를 resolve합니다.Details
에러 메시지의 원인은 아래와 같았습니다.
jest test callback 함수 안에서 비동기 작업이 수행됨 -> 대부분의 로그를 차지하고 있는 문제로, FeatureProvider 안에서 오타 수정하면 Promise 실행 안하게 됨
active="false" -> 정확한 원인은 아직 파악 안된 상태..
Icon컴포넌트의 forwardRef -> 아마 styled(Icon) 으로 감싸고 나서 asChild로 인한 ref forwarding이 안되는 이슈인 듯하여 scss로 마이그레이션 하면 해결 됫 것으로 예상
ref forwarding 이 누락됨
hasError 속성을 잘못 넘김 (Enhance handling of improper
hasError
return value foruseFormFieldProps
#1876 참고)Breaking change? (Yes/No)
References