From 0a1d46ae70460d4b80b548c530e770a77d8e88bf Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 1 Jun 2021 10:59:04 -0500 Subject: [PATCH] =?UTF-8?q?List=20only=20keys=20on=20=E2=80=9CMissing=20fr?= =?UTF-8?q?om=20live=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/main.js b/test/main.js index ff70d28..372be3d 100644 --- a/test/main.js +++ b/test/main.js @@ -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 ) {