Skip to content

Commit f364ba5

Browse files
committed
Update readme-pt-br.md
1 parent 868daac commit f364ba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme-pt-br.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ test('When flagging to show only VIP, should display only VIP members', () => {
10291029
const { getAllByTestId } = render(<UsersList users={allUsers} showOnlyVIP={true}/>);
10301030

10311031
// Assert - Mix UI & data in assertion
1032-
expect(getAllByTestId('user')).toEqual('[<li data-testid="user">John Doe</li>]');
1032+
expect(getAllByTestId('user')).toEqual('[<li data-test-id="user">John Doe</li>]');
10331033
});
10341034

10351035
```
@@ -1065,7 +1065,7 @@ test('When flagging to show only VIP, should display only VIP members', () => {
10651065
// the markup code (part of React component)
10661066
<h3>
10671067
<Badge pill className="fixed_badge" variant="dark">
1068-
<span data-testid="errorsLabel">{value}</span> <!-- note the attribute data-testid -->
1068+
<span data-test-id="errorsLabel">{value}</span> <!-- note the attribute data-test-id -->
10691069
</Badge>
10701070
</h3>
10711071
```
@@ -1319,7 +1319,7 @@ export default function ProductsList() {
13191319
fetchProducts();
13201320
}, []);
13211321

1322-
return products ? <div>{products}</div> : <div data-testid='no-products-message'>No products</div>
1322+
return products ? <div>{products}</div> : <div data-test-id='no-products-message'>No products</div>
13231323
}
13241324

13251325
// test

0 commit comments

Comments
 (0)