From 76be2217d4e0981ee3c99c4abebfafc5e9b47342 Mon Sep 17 00:00:00 2001 From: kayak Date: Sat, 23 Jan 2021 00:43:59 +1000 Subject: [PATCH] docs: fix a small typo (#29117) Co-authored-by: gatsbybot --- docs/docs/how-to/testing/testing-react-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how-to/testing/testing-react-components.md b/docs/docs/how-to/testing/testing-react-components.md index 99978a30821a7..989cb2d5cfcf1 100644 --- a/docs/docs/how-to/testing/testing-react-components.md +++ b/docs/docs/how-to/testing/testing-react-components.md @@ -36,7 +36,7 @@ module.exports = { ## Usage -Let's create a little example test using the newly added library. If you haven't done already read the [unit testing guide](/docs/how-to/testing/unit-testing) — essentially you'll use `@testing-library/react` instead of `react-test-renderer` now. There are a lot of options when it comes to selectors, this example chooses `getByTestId` here. It also utilizes `toHaveTextContent` from `jest-dom`: +Let's create a little example test using the newly added library. If you haven't done so already, read the [unit testing guide](/docs/how-to/testing/unit-testing) — essentially you'll use `@testing-library/react` instead of `react-test-renderer` now. There are a lot of options when it comes to selectors, this example chooses `getByTestId` here. It also utilizes `toHaveTextContent` from `jest-dom`: ```js import React from "react"