Skip to content

Commit 4a39434

Browse files
authored
Update test.js
1 parent 0fc9574 commit 4a39434

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/04.3-id-Selector/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ jest.dontMock('fs');
88
const span = document.querySelector("span");
99
const link = document.querySelector("link");
1010

11-
test("There should be a span tag", () => {
11+
test("There should be a <span> tag", () => {
1212
expect(span).toBeTruthy()
1313
});
1414

15-
test("The span tag should have the id 'button1'", () => {
15+
test("The <span> tag should have the id 'button1'", () => {
1616
expect(span).toBeTruthy();
1717
let id = span.id
1818
expect(id).toBeTruthy();
1919
expect(id).toBe('button1');
2020
});
2121

22-
test("The span tag should not contain any inline style", () => {
22+
test("The <span> tag should not contain any inline style", () => {
2323
let emptyBodyInlineStyle = {};
2424
expect(span).toBeTruthy()
2525
expect(span.style._values).toEqual(emptyBodyInlineStyle);
2626
});
2727

28-
test("You should not change the existing head tag elements", () => {
28+
test("You should not change the existing <head> tag elements", () => {
2929
let head = document.querySelector('head');
3030
expect(head).toBeTruthy();
3131

0 commit comments

Comments
 (0)