JSX
should return a div
element.");'
- text: ''
testString: 'assert(JSX.props.children[1].type === "p", "The div
should contain a p
tag as the second element.");'
- text: ''
testString: 'assert(JSX.props.children[2].type === "ul", "The div
should contain a ul
tag as the third element.");'
- text: ''
testString: 'assert(JSX.props.children[0].type === "h1", "The div
should contain an h1
tag as the first element.");'
- text: يجب أن يحتوي الـ ul
على ثلاثة عناصر من li
.
testString: 'assert(JSX.props.children[2].props.children.length === 3, "The ul
should contain three li
elements.");'
```