mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Text entire head markup
This commit is contained in:
parent
3c10d420f8
commit
17ccef8831
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ test( 'Listings with videos have structured data', async t => {
|
||||||
t.assert( listingPageHead.structuredDataMarkup.trim() !== '', `${ caseEndpoint } has structured data` )
|
t.assert( listingPageHead.structuredDataMarkup.trim() !== '', `${ caseEndpoint } has structured data` )
|
||||||
|
|
||||||
// https://github.com/glitchdigital/structured-data-testing-tool#api
|
// https://github.com/glitchdigital/structured-data-testing-tool#api
|
||||||
const testResult = await structuredDataTestHtml( listingPageHead.structuredDataMarkup , {
|
const testResult = await structuredDataTestHtml( listingPageHead.allHeadMarkup , {
|
||||||
presets: [ Google ],
|
presets: [ Google ],
|
||||||
schemas: [ 'VideoObject' ]
|
schemas: [ 'VideoObject' ]
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue