fix(curriculum): update assertions to use assert.equal (#60013)

This commit is contained in:
Melvin Kosisochukwu
2025-04-26 21:46:04 +01:00
committed by GitHub
parent e638a59db7
commit fa66608b41

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