mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
List only keys on “Missing from live”
This commit is contained in:
parent
98666d9fad
commit
0a1d46ae70
1 changed files with 2 additions and 1 deletions
|
|
@ -111,10 +111,11 @@ test('Sitemap mostly matches production', async (t) => {
|
|||
const message = `${ urlsNotOnLive.size } new or missing from live and ${ liveSitemapUrls.size } not found locally`
|
||||
const totalDifferences = urlsNotOnLive.size + liveSitemapUrls.size
|
||||
|
||||
const liveSitemapUrlStrings = new Set( liveSitemapUrls.keys() )
|
||||
|
||||
if ( totalDifferences >= 0 ) {
|
||||
t.log( 'Missing from live', urlsNotOnLive )
|
||||
t.log( 'Not found locally', liveSitemapUrls )
|
||||
t.log( 'Not found locally', liveSitemapUrlStrings )
|
||||
}
|
||||
|
||||
if ( totalDifferences >= theshold ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue