소스 검색

Update Python and JS test coverage collection to exclude tests

Thibaud Colas 4 년 전
부모
커밋
314a926f75
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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",