From 6c8df573c3f1e88f90499d5c08b9577b256569f9 Mon Sep 17 00:00:00 2001 From: Kealan Parr Date: Mon, 21 Jun 2021 05:29:34 +0100 Subject: [PATCH] fix(curriculum): clarify test text for react challenge (#42577) * Ensure the test only checks the state name variable is present, it doesn't have to be the only word * Emphasise in the test the wording that the instructions use --- .../react/render-state-in-the-user-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/03-front-end-libraries/react/render-state-in-the-user-interface.md b/curriculum/challenges/english/03-front-end-libraries/react/render-state-in-the-user-interface.md index 766b22bd9a..9a4f2fbf9a 100644 --- a/curriculum/challenges/english/03-front-end-libraries/react/render-state-in-the-user-interface.md +++ b/curriculum/challenges/english/03-front-end-libraries/react/render-state-in-the-user-interface.md @@ -43,7 +43,7 @@ assert( ); ``` -The rendered `h1` header should contain text rendered from the component's state. +The rendered `h1` header should only contain text rendered from the component's state. ```js async () => {