mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 09:03:27 -05:00
fix(curriculum): add .trim() to textContent assertions (#62608)
This commit is contained in:
@@ -23,7 +23,7 @@ assert.exists(document.querySelector('h1'))
|
||||
Your `h1` element should have the text `iframe Video Display`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelector('h1')?.textContent, 'iframe Video Display')
|
||||
assert.equal(document.querySelector('h1')?.textContent.trim(), 'iframe Video Display')
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user