Explorar o código

Update Python and JS test coverage collection to exclude tests

Thibaud Colas %!s(int64=4) %!d(string=hai) anos
pai
achega
314a926f75
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 1 0
      .coveragerc
  2. 4 0
      package.json

+ 1 - 0
.coveragerc

@@ -6,6 +6,7 @@ source = wagtail
 
 omit =
     */migrations/*
+    */tests/*
     docs/conf.py
 
 

+ 4 - 0
package.json

@@ -44,6 +44,10 @@
       "/node_modules/",
       "/build/"
     ],
+    "coveragePathIgnorePatterns": [
+      "/node_modules/",
+      "/tests/"
+    ],
     "setupFiles": [
       "./client/tests/adapter.js",
       "./client/tests/stubs.js",