fix(curriculum): update assertions to use assert.equal (#60013)
Some checks failed
i18n - Build Validation / Validate i18n Builds (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled

This commit is contained in:
Melvin Kosisochukwu 2025-04-26 21:46:04 +01:00 committed by GitHub
parent e638a59db7
commit fa66608b41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,19 +21,19 @@ Give `.cat-head` a `position` property of `static`, then set the `top` and `left
Your `.cat-head` selector should have a `position` property set to `static`. Make sure you add a semicolon.
```js
assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.position === 'static')
assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.position, 'static')
```
Your `.cat-head` selector should have a `top` property set to `100px`. Make sure you add a semicolon.
```js
assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.top === '100px')
assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.top, '100px')
```
Your `.cat-head` selector should have a `left` property set to `100px`. Make sure you add a semicolon.
```js
assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.left === '100px')
assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.left, '100px')
```
# --seed--