Skip to content

Commit a8e25b6

Browse files
committed
test now checking for default value repeat
1 parent 5b8fdb2 commit a8e25b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/02.1-Background/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ describe("All the styles should be applied", ()=>{
2828
expect(styles["background-size"]).toBe("contain");
2929
});
3030

31-
test("the background-repeat should be 'inherit' without quotes", ()=>{
31+
test("the background-repeat should be 'repeat' without quotes", ()=>{
3232
document.querySelector(
3333
"head"
3434
).innerHTML = `<style>${css.toString()}</style>`;
3535

3636
let styles = window.getComputedStyle(body);
37-
expect(styles["background-repeat"]).toBe("inherit");
37+
expect(styles["background-repeat"]).toBe("repeat");
3838
});
3939

4040
test("You should not change the existing head tag elements", ()=>{

0 commit comments

Comments
 (0)