File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ describe('static check meta tags', function () {
279279 } ) ;
280280 } ) ;
281281
282- it ( 'jsonLD - invalid JSON string that cannot be parsed does not throw error' , function ( ) {
282+ it ( 'jsonLD - invalid JSON string that cannot be parsed does not throw error' , function ( ) {
283283 const metaHTML = `<html><head>
284284 <script type="application/ld+json">
285285 {
@@ -316,7 +316,7 @@ describe('static check meta tags', function () {
316316 } ) ;
317317 } ) ;
318318
319- it ( 'jsonLD - invalid JSON string that cannot be parsed throws error when options.jsonLDOptions.throwOnJSONParseError = true' , function ( ) {
319+ it ( 'jsonLD - invalid JSON string that cannot be parsed throws error when options.jsonLDOptions.throwOnJSONParseError = true' , function ( ) {
320320 const metaHTML = `<html><head>
321321 <script type="application/ld+json">
322322 {
@@ -343,7 +343,7 @@ describe('static check meta tags', function () {
343343 . intercept ( { path : '/' } )
344344 . reply ( 200 , metaHTML ) ;
345345
346- return ogs ( { url : 'www.test.com' , jsonLDOptions : { throwOnJSONParseError : true } } ) . catch ( ( data ) => {
346+ return ogs ( { url : 'www.test.com' , jsonLDOptions : { throwOnJSONParseError : true } } ) . catch ( ( data ) => {
347347 expect ( data . result . success ) . to . be . eql ( false ) ;
348348 } ) ;
349349 } ) ;
You can’t perform that action at this time.
0 commit comments