Skip to content

Commit d78f767

Browse files
authored
Update tests.js
1 parent b09e86c commit d78f767

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/11-Font-Awesome-Icons/tests.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ let cssArray = null;
1010

1111
describe("All the styles should be applied", ()=>{
1212
const icons = document.querySelectorAll("i");
13-
test("The ul tag should exist", ()=>{
13+
test("The <ul> tag should exist", ()=>{
1414
expect(document.querySelector("ul")).toBeTruthy();
1515
});
16-
test("At least 3 li tags should exist", ()=>{
16+
test("At least 3 <li> tags should exist", ()=>{
1717
expect(document.querySelectorAll("li").length).toBe(3);
1818
});
19-
test("At least 3 i tags should exist", ()=>{
19+
test("At least 3 <i> tags should exist", ()=>{
2020
expect(document.querySelectorAll("i").length).toBe(3);
2121
});
22-
test("The i tags should be inside the li tags", ()=>{
22+
test("The <i> tags should be inside the <li> tags", ()=>{
2323
expect(document.querySelector("li")).toBeTruthy();
2424
const li = document.querySelectorAll("li");
2525
for (let i = 0; i < li.length; i++) {
2626
expect(li[i].innerHTML).toBeTruthy();
2727
}
2828
});
29-
test('The i tags should have any Font Awesome class starting with "fa" | ex. "fa-solid"', ()=>{
29+
test('The <i> tags should have any Font Awesome class starting with "fa" | ex. "fa-solid"', ()=>{
3030
//or use query selector to compare hoy mane scriptags do we have
3131
expect(icons).toBeTruthy();
3232

0 commit comments

Comments
 (0)