fix(curriculum): test to check for body element (#49410)

fix(learn): test to check for body element
This commit is contained in:
tanimedi 2023-02-17 09:37:35 -05:00 committed by GitHub
parent 4f357db02f
commit 4caccdb0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ Target the `body` element to set the `background` to a linear gradient angled 45
You should use the `body` element selector.
```js
assert.match(code, /body\s*\{/);
assert.exists(new __helpers.CSSHelp(document).getStyle('body'));
```
You should use the `background` property in the `body` selector.