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 1a03a65 commit e09f439Copy full SHA for e09f439
exercises/01.1-The-Style-Tag/test.js
@@ -7,16 +7,16 @@ jest.dontMock('fs');
7
8
const p = document.querySelector("p");
9
10
-test("There should be a p tag", ()=>{
+test("There should be a <p> tag", ()=>{
11
expect(p).toBeTruthy();
12
})
13
14
-test("The p tag color should be blue", ()=>{
+test("The <p> tag color should be blue", ()=>{
15
let styles = window.getComputedStyle(p);
16
expect(styles["color"]).toBe("blue");
17
});
18
19
-test("The p tag should not contain any inline style", ()=>{
+test("The <p> tag should not contain any inline style", ()=>{
20
let emptyBodyInlineStyle = {};
21
expect(p.style._values).toEqual(emptyBodyInlineStyle);
22
-});
+});
0 commit comments