Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test.js
  • Loading branch information
josemoracard authored Mar 22, 2023
commit fde4d3c555fde774285c1107218c45b6781babb5
4 changes: 2 additions & 2 deletions exercises/04-Class-Selector/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Both p tags should have a blue background", () => {
expect(title).toBe('04 Class selector')
});

test("The body tag should not contains any inline style", () => {
test("The body tag should not contain any inline style", () => {
document.querySelector(
"head"
).innerHTML = `<style>${css.toString()}</style>`;
Expand All @@ -31,7 +31,7 @@ describe("Both p tags should have a blue background", () => {
test("There should be two p tags", () => {
expect(p.length).toBe(2)
});
test("Both p tags should have a class name 'b-blue' without the quotation marks", () => {
test("Both p tags should have a class name 'b-blue'", () => {
p.forEach(e=>{
let eClass = e.getAttribute("class");
expect(eClass).toBe("b-blue")
Expand Down