Skip to content

Commit 08aec91

Browse files
committed
Update readme.kr.md
1 parent d4594a5 commit 08aec91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.kr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ test('오직 VIP를 보기위해 사용자목록을 표시했을때, 오직 VIP
974974
const { getAllByTestId } = render(<UsersList users={allUsers} showOnlyVIP={true}/>);
975975

976976
// Assert - 화면과 데이터를 섞어서 검증
977-
expect(getAllByTestId('user')).toEqual('[<li data-testid="user">John Doe</li>]');
977+
expect(getAllByTestId('user')).toEqual('[<li data-test-id="user">John Doe</li>]');
978978
});
979979

980980
```
@@ -1010,7 +1010,7 @@ test('오직 VIP를 보기위해 사용자목록을 표시했을때, 오직 VIP
10101010
// the markup code (part of React component)
10111011
<h3>
10121012
<Badge pill className="fixed_badge" variant="dark">
1013-
<span data-testid="errorsLabel">{value}</span> <!-- note the attribute data-testid -->
1013+
<span data-test-id="errorsLabel">{value}</span> <!-- note the attribute data-test-id -->
10141014
</Badge>
10151015
</h3>
10161016
```
@@ -1262,7 +1262,7 @@ export default function ProductsList() {
12621262
fetchProducts();
12631263
}, []);
12641264

1265-
return products ? <div>{products}</div> : <div data-testid='no-products-message'>No products</div>
1265+
return products ? <div>{products}</div> : <div data-test-id='no-products-message'>No products</div>
12661266
}
12671267

12681268
// test

0 commit comments

Comments
 (0)