From c1afc6601d034b4e0c5025d2162469a2a06bceaf Mon Sep 17 00:00:00 2001 From: Weyert de Boer Date: Sat, 7 Sep 2019 23:23:36 +0100 Subject: [PATCH] Update running-tests.md Fixed the unit test in the @testing-library bit of the page as Welcome to React is not being used in the `App.js` --- docusaurus/docs/running-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/running-tests.md b/docusaurus/docs/running-tests.md index 3fa60ec41fa..aa72ae6ceeb 100644 --- a/docusaurus/docs/running-tests.md +++ b/docusaurus/docs/running-tests.md @@ -204,7 +204,7 @@ import App from './App'; it('renders welcome message', () => { const { getByText } = render(); - expect(getByText('Welcome to React')).toBeInTheDocument(); + expect(getByText('Learn React')).toBeInTheDocument(); }); ```