Skip to content

Commit b767142

Browse files
authored
Update tests.js
1 parent f795a03 commit b767142

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/13-Anchor-Like-Button/tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("All the styles should be applied", ()=>{
1010
const meta = document.querySelector("meta")
1111
const title = document.querySelector('title')
1212
const link = document.querySelector('link')
13-
test("the padding should be '10px'", ()=>{
13+
test("The padding should be '10px'", ()=>{
1414
document.querySelector(
1515
"head"
1616

@@ -20,7 +20,7 @@ describe("All the styles should be applied", ()=>{
2020

2121
expect(classTagStyles["padding"]).toBe("10px");
2222
});
23-
test("the border radius should be '4px'", ()=>{
23+
test("The border radius should be '4px'", ()=>{
2424
document.querySelector(
2525
"head"
2626

@@ -29,7 +29,7 @@ describe("All the styles should be applied", ()=>{
2929
let classTagStyles = window.getComputedStyle(divTag);
3030
expect(classTagStyles["border-radius"]).toBe("4px");
3131
});
32-
test("the underline should be removed", ()=>{
32+
test("The underline should be removed", ()=>{
3333
document.querySelector(
3434
"head"
3535

@@ -47,7 +47,7 @@ describe("All the styles should be applied", ()=>{
4747
expect(cssArray).toBe(".orange-btn");
4848
}
4949
)
50-
test("You should not change the existing head tag elements", ()=>{
50+
test("You should not change the existing <head> tag elements", ()=>{
5151
let head = document.querySelector('head')
5252
expect(head).toBeTruthy()
5353

0 commit comments

Comments
 (0)