From 314a926f75f96275ccd9c84a568d7e588f13b258 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Fri, 22 May 2020 08:44:23 +0100 Subject: [PATCH] Update Python and JS test coverage collection to exclude tests --- .coveragerc | 1 + package.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.coveragerc b/.coveragerc index e2e7969b81..1b9e8d18ea 100644 --- a/.coveragerc +++ b/.coveragerc @@ -6,6 +6,7 @@ source = wagtail omit = */migrations/* + */tests/* docs/conf.py diff --git a/package.json b/package.json index c56be2187c..f1e8106b90 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,10 @@ "/node_modules/", "/build/" ], + "coveragePathIgnorePatterns": [ + "/node_modules/", + "/tests/" + ], "setupFiles": [ "./client/tests/adapter.js", "./client/tests/stubs.js",