Skip to content

Commit ec0084e

Browse files
committed
fix tests
1 parent 6d3c934 commit ec0084e

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

test/acceptance/post-body-tag-icons-test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ acceptance("Post body - Tag icons", function (needs) {
5757

5858
assert
5959
.dom(`.cooked .hashtag-cooked[data-id="1"] .hashtag-tag-icon`)
60-
.hasStyle(
61-
{ "--color1": "rgb(255, 0, 0)" },
62-
"tag-1 's icon has the right color"
63-
);
60+
.hasStyle({ "--color1": "#FF0000" }, "tag-1 's icon has the right color");
6461

6562
assert
6663
.dom(

test/acceptance/tag-icons-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ acceptance("Topic with tags", function (needs) {
2525

2626
assert.equal(
2727
window.getComputedStyle(el).color,
28-
"rgb(204, 0, 0)",
28+
"rgb(100, 100, 100)",
2929
"tag icon color matches default value"
3030
);
3131
});

0 commit comments

Comments
 (0)