diff --git a/docs/docs/tutorial/chapter5/first-test.md b/docs/docs/tutorial/chapter5/first-test.md index c6ab374afb4d..eb8d6feaa536 100644 --- a/docs/docs/tutorial/chapter5/first-test.md +++ b/docs/docs/tutorial/chapter5/first-test.md @@ -20,11 +20,11 @@ Let's update the test so that it checks for the expected behavior instead. There ```jsx title="web/src/components/ArticlesCell.test.js" test('Success renders successfully', async () => { - const posts = standard().posts - render() + const articles = standard().articles + render() // highlight-start - expect(screen.getByText(posts[0].title)).toBeInTheDocument() + expect(screen.getByText(articles[0].title)).toBeInTheDocument() expect( screen.getByText( 'Neutra tacos hot chicken prism raw denim, put a bird on it enamel pin post-ironic vape cred DIY. Str...'