Skip to content

Commit f350b6c

Browse files
committed
test fixed
1 parent 321c648 commit f350b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("All the styles should be applied", ()=>{
3131
expect(icons).toBeTruthy();
3232

3333
icons.forEach(icon=>{
34-
let hasFa = icon.classList.contains("fa-")
34+
let hasFa = icon.classList.toString().includes("fa-")
3535
expect(hasFa).toBeTruthy();
3636
})
3737
});

0 commit comments

Comments
 (0)