fix(curriculum): use assert.equal in cat painting workshop (#60242)

This commit is contained in:
Tanush S
2025-05-08 23:28:36 -07:00
committed by GitHub
parent 0dfda08a35
commit 6fc8711711
2 changed files with 7 additions and 7 deletions
@@ -14,19 +14,19 @@ Move the inner ear into position with a `position` property set to `absolute`, a
Your `.cat-left-inner-ear` selector should have a `position` property set to `absolute`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.position === 'absolute')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.position, 'absolute')
```
Your `.cat-left-inner-ear` selector should have a `top` property set to `22px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.top === '22px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.top, '22px')
```
Your `.cat-left-inner-ear` selector should have a `left` property set to `-20px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.left === '-20px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.left, '-20px')
```
# --seed--
@@ -14,25 +14,25 @@ To remove all the pointed edges of the ear, set a bottom-right and bottom-left b
Your `.cat-left-inner-ear` selector should have a `border-bottom-right-radius` property set to `40%`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderBottomRightRadius === '40%')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderBottomRightRadius, '40%')
```
Your `.cat-left-inner-ear` selector should have a `border-bottom-left-radius` property set to `40%`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderBottomLeftRadius === '40%')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderBottomLeftRadius, '40%')
```
Your `.cat-left-inner-ear` selector should have a `border-top-left-radius` property set to `90px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderTopLeftRadius === '90px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderTopLeftRadius, '90px')
```
Your `.cat-left-inner-ear` selector should have a `border-top-right-radius` property set to `10px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderTopRightRadius === '10px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-inner-ear')?.borderTopRightRadius, '10px')
```
# --seed--