We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b8fdb2 commit a8e25b6Copy full SHA for a8e25b6
exercises/02.1-Background/tests.js
@@ -28,13 +28,13 @@ describe("All the styles should be applied", ()=>{
28
expect(styles["background-size"]).toBe("contain");
29
});
30
31
- test("the background-repeat should be 'inherit' without quotes", ()=>{
+ test("the background-repeat should be 'repeat' without quotes", ()=>{
32
document.querySelector(
33
"head"
34
).innerHTML = `<style>${css.toString()}</style>`;
35
36
let styles = window.getComputedStyle(body);
37
- expect(styles["background-repeat"]).toBe("inherit");
+ expect(styles["background-repeat"]).toBe("repeat");
38
39
40
test("You should not change the existing head tag elements", ()=>{
0 commit comments