From 231c3e5929cba5c9335e2a75274951d2de9d9f43 Mon Sep 17 00:00:00 2001 From: Avi Marcus Date: Thu, 23 Jan 2020 12:51:25 +0200 Subject: [PATCH] removed console.log --- test/hydration/samples/iframe/_config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/hydration/samples/iframe/_config.js b/test/hydration/samples/iframe/_config.js index 9383d38fc6..8f818d9294 100644 --- a/test/hydration/samples/iframe/_config.js +++ b/test/hydration/samples/iframe/_config.js @@ -42,13 +42,10 @@ export default { await snapshot.trigger; snapshot.mutationObserver.disconnect(); - console.log(snapshot.mutationRecords); - const iframeMutations = snapshot.mutationRecords.filter(({addedNodes, removedNodes}) => { - console.log({addedNodes, removedNodes}); return addedNodes.includes('IFRAME')|| removedNodes.includes('IFRAME'); }); - console.log({iframeMutations}); + assert(iframeMutations.length === 0, 'iframe added/removed'); // assert(false, 'test')