Skip to content
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

#6 샘플 상품 목록 페이지 Jest 단위 테스트 코드를 작성한다 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YooYoungmo
Copy link

#6
일단 테스트 코드를 작성하기 위한 Jest 테스트 환경을 구성했습니다.

product-search.tsx 파일에 수정 내용은 테스트 코드를 작성하는 과정에서 아래와 같은 에러를 만났기 때문입니다.

 console.error
    Warning: [antd: Select] `dropdownMatchSelectWidth` is deprecated. Please use `popupMatchSelectWidth` instead.

그리고 UI 테스트를 위해 product-list.tsx 파일에 data-testid 속성을 추가하였습니다.

@vercel
Copy link

vercel bot commented Sep 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
purple-admin-ui ❌ Failed (Inspect) Sep 27, 2023 7:00am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant