fix(curriculum): add .trim() to textContent assertions (#62608)

This commit is contained in:
Giftea ☕ 2025-10-08 21:24:44 +01:00 committed by GitHub
parent a9fab95361
commit ea3e22f1af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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--