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",