File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ describe('server', () => {
221221 < link rel = "notImportant" href = "https://www.chipotle.com" />
222222 < link rel = "canonical" href = "https://www.tacobell.com" />
223223 < meta property = "og:title" content = "A very important title" />
224+ < meta name = "description" content = "Some Description" />
224225 </ Helmet > ,
225226 ) ;
226227
@@ -230,9 +231,15 @@ describe('server', () => {
230231 expect ( head ?. priority . toString ( ) ) . toContain (
231232 'property="og:title" content="A very important title"' ,
232233 ) ;
234+ expect ( head ?. priority . toString ( ) ) . toContain (
235+ 'name="description" content="Some Description"' ,
236+ ) ;
233237 expect ( head ?. meta . toString ( ) ) . not . toContain (
234238 'property="og:title" content="A very important title"' ,
235239 ) ;
240+ expect ( head ?. meta . toString ( ) ) . not . toContain (
241+ 'name="description" content="Some Description"' ,
242+ ) ;
236243 } ) ;
237244
238245 it ( 'does not prioritize SEO unless asked to' , ( ) => {
You can’t perform that action at this time.
0 commit comments