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:
Randell Dawson
2019-11-22 04:44:40 -08:00
committed by Oliver Eyton-Williams
parent 9706bc47ff
commit 6fc32ab9b6
50 changed files with 109 additions and 109 deletions

View File

@@ -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');
```