Skip to content

Commit e09f439

Browse files
authored
Update test.js
1 parent 1a03a65 commit e09f439

File tree

1 file changed

+4
-4
lines changed
  • exercises/01.1-The-Style-Tag

1 file changed

+4
-4
lines changed

exercises/01.1-The-Style-Tag/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jest.dontMock('fs');
77

88
const p = document.querySelector("p");
99

10-
test("There should be a p tag", ()=>{
10+
test("There should be a <p> tag", ()=>{
1111
expect(p).toBeTruthy();
1212
})
1313

14-
test("The p tag color should be blue", ()=>{
14+
test("The <p> tag color should be blue", ()=>{
1515
let styles = window.getComputedStyle(p);
1616
expect(styles["color"]).toBe("blue");
1717
});
1818

19-
test("The p tag should not contain any inline style", ()=>{
19+
test("The <p> tag should not contain any inline style", ()=>{
2020
let emptyBodyInlineStyle = {};
2121
expect(p.style._values).toEqual(emptyBodyInlineStyle);
22-
});
22+
});

0 commit comments

Comments
 (0)