mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add log notes to successful tests
This commit is contained in:
parent
b004c8ed1a
commit
a2bd99dd67
1 changed files with 4 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ test('Sitemap contains no double slashes in paths', (t) => {
|
||||||
t.fail( `${ urlsWithDoubleSlashes.length } urls with doubles slashes found including ${ urlsWithDoubleSlashes[0] }` )
|
t.fail( `${ urlsWithDoubleSlashes.length } urls with doubles slashes found including ${ urlsWithDoubleSlashes[0] }` )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.log( `${t.context.sitemapUrls.length} valid sitemap listings` )
|
||||||
t.pass()
|
t.pass()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -138,6 +139,7 @@ test('All Category pages have valid FAQPage structured data', async (t) => {
|
||||||
t.fail( error.message )
|
t.fail( error.message )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.log( `${categoryUrls.length} valid pages` )
|
||||||
t.pass()
|
t.pass()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
@ -164,8 +166,8 @@ test('All Device pages have valid FAQPage structured data', async (t) => {
|
||||||
t.fail( error.message )
|
t.fail( error.message )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.log( `${deviceUrls.length} valid pages` )
|
||||||
t.pass()
|
t.pass()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -186,6 +188,7 @@ test('All TV pages have valid VideoObject structured data', async (t) => {
|
||||||
t.fail( error.message )
|
t.fail( error.message )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.log( `${tvUrls.length} valid pages` )
|
||||||
t.pass()
|
t.pass()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue