File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
exercises/04.3-id-Selector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,24 @@ jest.dontMock('fs');
88const span = document . querySelector ( "span" ) ;
99const link = document . querySelector ( "link" ) ;
1010
11- test ( "There should be a span tag" , ( ) => {
11+ test ( "There should be a < span> tag" , ( ) => {
1212 expect ( span ) . toBeTruthy ( )
1313} ) ;
1414
15- test ( "The span tag should have the id 'button1'" , ( ) => {
15+ test ( "The < span> tag should have the id 'button1'" , ( ) => {
1616 expect ( span ) . toBeTruthy ( ) ;
1717 let id = span . id
1818 expect ( id ) . toBeTruthy ( ) ;
1919 expect ( id ) . toBe ( 'button1' ) ;
2020} ) ;
2121
22- test ( "The span tag should not contain any inline style" , ( ) => {
22+ test ( "The < span> tag should not contain any inline style" , ( ) => {
2323 let emptyBodyInlineStyle = { } ;
2424 expect ( span ) . toBeTruthy ( )
2525 expect ( span . style . _values ) . toEqual ( emptyBodyInlineStyle ) ;
2626} ) ;
2727
28- test ( "You should not change the existing head tag elements" , ( ) => {
28+ test ( "You should not change the existing < head> tag elements" , ( ) => {
2929 let head = document . querySelector ( 'head' ) ;
3030 expect ( head ) . toBeTruthy ( ) ;
3131
You can’t perform that action at this time.
0 commit comments