Skip to content

Commit b08ff4e

Browse files
rrebaseTimer
authored andcommitted
Update README due to deprecation of react-testing-library's toBeInTheDOM (facebook#5334)
1 parent 6125960 commit b08ff4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ import App from './App';
14961496

14971497
it('renders welcome message', () => {
14981498
const { getByText } = render(<App />);
1499-
expect(getByText('Welcome to React')).toBeInTheDOM();
1499+
expect(getByText('Welcome to React')).toBeInTheDocument();
15001500
});
15011501
```
15021502

0 commit comments

Comments
 (0)