Skip to content

Commit fde4d3c

Browse files
authored
Update test.js
1 parent 9dcae71 commit fde4d3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/04-Class-Selector/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("Both p tags should have a blue background", () => {
2020
expect(title).toBe('04 Class selector')
2121
});
2222

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

0 commit comments

Comments
 (0)