From 5798dfaf190613ebd59ae90af9feedfe60717188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sun, 7 May 2023 11:40:43 +0200 Subject: [PATCH] Revert "send coverage schema only once" --- src/Behat/JsCoverageContextTrait.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Behat/JsCoverageContextTrait.php b/src/Behat/JsCoverageContextTrait.php index f8cc853a3e..9ffbad9801 100644 --- a/src/Behat/JsCoverageContextTrait.php +++ b/src/Behat/JsCoverageContextTrait.php @@ -77,9 +77,6 @@ protected function saveJsCoverage(): void const res = []; for (const coverage of [windowCoverage, ...navigateCoverages]) { res.push(transformCoverageFx(coverage)); - Object.keys(coverage).forEach((path) => { - seenPaths.add(path); - }); } return res;