Update Python and JS test coverage collection to exclude tests

pull/6078/head
Thibaud Colas 2020-05-22 08:44:23 +01:00 zatwierdzone przez Matt Westcott
rodzic bb83801532
commit 314a926f75
2 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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