mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): add test for multiple ol elements (#49168)
* Fix(curriculum) - Prevent an oversight in step 27 of the cat app * Fix(curriculum) - Remember to make the queried nodes iterable
This commit is contained in:
+6
@@ -57,6 +57,12 @@ assert.deepStrictEqual(
|
||||
);
|
||||
```
|
||||
|
||||
You should only have one `ol` element.
|
||||
|
||||
```js
|
||||
assert([...document.querySelectorAll('ol')].length == 1);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
Reference in New Issue
Block a user