mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Updated test to allow both slategray and slategrey for border color (#58746)
This commit is contained in:
+4
-1
@@ -206,7 +206,10 @@ assert.exists(document.querySelector('p.company + hr'));
|
||||
The `hr` elements should have a `1px` dashed top border in `slategray` color.
|
||||
|
||||
```js
|
||||
assert.equal(new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'), '1px dashed slategray');
|
||||
assert.oneOf(
|
||||
new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'),
|
||||
['1px dashed slategray', '1px dashed slategrey']
|
||||
);
|
||||
```
|
||||
|
||||
After the first `hr` element, there should be a `p` element with an email address as your text.
|
||||
|
||||
Reference in New Issue
Block a user