Skip to content

Commit 6b1a5d7

Browse files
Merge pull request 4GeeksAcademy#98 from UmiKami/05-Specificity
fixed wrong selector in test issue
2 parents 79f5790 + 6732619 commit 6b1a5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/05-Specificity/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("All the styles should be applied", function () {
3030
let thirdItSelector = document.styleSheets[0].cssRules[1].selectorText;
3131
let thirdItBackground = document.styleSheets[0].cssRules[1].style.background;
3232

33-
expect(thirdItSelector).toBe("#thirditem");
33+
expect(thirdItSelector).toBe("li + #thirditem");
3434
expect(thirdItBackground).toBe("yellow");
3535
expect(cssArray).toBe("ul li");
3636
expect(cssArrayBackground).toBe("blue");

0 commit comments

Comments
 (0)