From 17ccef883148e11285800f26601e25adadb94515 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Wed, 6 Jul 2022 14:01:07 -0500 Subject: [PATCH] Text entire head markup --- test/listings/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/listings/index.js b/test/listings/index.js index 49fe5de..942fff6 100644 --- a/test/listings/index.js +++ b/test/listings/index.js @@ -206,7 +206,7 @@ test( 'Listings with videos have structured data', async t => { t.assert( listingPageHead.structuredDataMarkup.trim() !== '', `${ caseEndpoint } has structured data` ) // https://github.com/glitchdigital/structured-data-testing-tool#api - const testResult = await structuredDataTestHtml( listingPageHead.structuredDataMarkup , { + const testResult = await structuredDataTestHtml( listingPageHead.allHeadMarkup , { presets: [ Google ], schemas: [ 'VideoObject' ] }).then(res => {