From f14edc76106f1dd8428c504eab90de21390bf5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pudil?= Date: Mon, 4 Dec 2023 13:16:24 +0100 Subject: [PATCH] chore: report coverage only for src/ --- web-test-runner.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index 97f3809..f1aa305 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -10,6 +10,9 @@ export default { port: 9876, nodeResolve: true, coverage: true, + coverageConfig: { + include: ['src/**/*'], + }, files: ['tests/*.js'], browsers: [ playwrightLauncher({product: 'chromium'}),