From 1c8fd5d677574c3fbd10a6b6734c7ca9223f039d Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:25:27 -0700 Subject: [PATCH] fix: don't throw on lack of coverage data --- test/e2e/setup/coverage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/setup/coverage.js b/test/e2e/setup/coverage.js index 9602b5bd3..d52ed2136 100644 --- a/test/e2e/setup/coverage.js +++ b/test/e2e/setup/coverage.js @@ -29,7 +29,8 @@ export const test = baseTest.extend({ console.error('Error writing playwright coverage file', err) } } else { - throw new Error('No coverage data') + // throw new Error('No coverage data') + console.warn('No coverage data') } }) await use(context)