From 840cb1cf6ab2bf9928bc933a54c42b47cce31fc0 Mon Sep 17 00:00:00 2001 From: Peter Colapietro Date: Sun, 3 Apr 2022 13:55:49 -0400 Subject: [PATCH] fix: `posts` -> `articles` (#4983) Co-authored-by: David Price --- docs/docs/tutorial/chapter5/first-test.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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...'