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
This commit is contained in:
Kealan Parr
2021-06-21 05:29:34 +01:00
committed by GitHub
parent fe412b449e
commit 6c8df573c3

View File

@ -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 () => {