Skip to content

Commit

Permalink
Refactor: styled.div 를 테스트 코드에서 접근하기 위해 test-id 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinkr committed Apr 7, 2023
1 parent d7e6ee1 commit 40d95cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Card/InformCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const InformCard = ({ icon, title, path }: InformCardProps) => {
const onClick = () => navigate(path);

return (
<Card icon={icon} onClick={onClick}>
<Card data-testid="card" icon={icon} onClick={onClick}>
<Icon
kind={icon}
color={icon === 'school' ? theme.text.gray : theme.text.white}
Expand Down

0 comments on commit 40d95cd

Please sign in to comment.