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:
@ -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 () => {
|
||||
|
Reference in New Issue
Block a user