fix(curriculum): changed test text to use should for Front End Libraries (#37762)
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
Oliver Eyton-Williams
parent
9706bc47ff
commit
6fc32ab9b6
@@ -26,7 +26,7 @@ Apply a class of <code>myDiv</code> to the <code>div</code> provided in the JSX
|
||||
tests:
|
||||
- text: The constant <code>JSX</code> should return a <code>div</code> element.
|
||||
testString: assert.strictEqual(JSX.type, 'div');
|
||||
- text: The <code>div</code> has a class of <code>myDiv</code>.
|
||||
- text: The <code>div</code> should have a class of <code>myDiv</code>.
|
||||
testString: assert.strictEqual(JSX.props.className, 'myDiv');
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user