Skip to content

Commit 2cd2ff5

Browse files
authored
Update tests.js
1 parent 9ecb581 commit 2cd2ff5

File tree

1 file changed

+3
-3
lines changed
  • exercises/02-Separate-Stylesheet

1 file changed

+3
-3
lines changed

exercises/02-Separate-Stylesheet/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ describe("All the styles should be applied", ()=>{
1010
const link = document.querySelector("link");
1111
const body = document.querySelector("body");
1212

13-
test("The body tag should not contain any inline style", ()=>{
13+
test("The <body> tag should not contain any inline style", ()=>{
1414
document.querySelector("head").innerHTML = `<style>${css.toString()}</style>`;
1515
let emptyBodyInlineStyle={};
1616
expect(body.style._values).toEqual(emptyBodyInlineStyle)
1717
});
1818

19-
test("You should not change the existing head tag elements", ()=>{
19+
test("You should not change the existing <head> tag elements", ()=>{
2020
let head = document.querySelector('head')
2121
expect(head).toBeTruthy()
2222

@@ -27,7 +27,7 @@ describe("All the styles should be applied", ()=>{
2727
expect(href).toEqual('./styles.css')
2828
});
2929

30-
test("Your body tag background color should be blue", ()=>{
30+
test("Your <body> tag background color should be blue", ()=>{
3131
let styles = window.getComputedStyle(body)
3232
expect(styles["background-color"]).toBe("blue")
3333
})

0 commit comments

Comments
 (0)