File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
exercises/04-Class-Selector Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments