This improves coverage, allowing higher threshholds.
This commit is contained in:
John Whitlock 2022-03-24 09:20:02 -05:00
Родитель abc93150db
Коммит 1c94ed82c4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 082C735D154FB750
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -30,7 +30,7 @@ const customJestConfig = {
// collectCoverage: true,
// An array of glob patterns indicating a set of files for which coverage information should be collected
collectCoverageFrom: ["src/**"],
collectCoverageFrom: ["src/**", "!src/apiMocks/**"],
// The directory where Jest should output its coverage files
// coverageDirectory: "coverage",
@ -52,10 +52,10 @@ const customJestConfig = {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 40,
branches: 50,
functions: 30,
lines: 40,
statements: 40,
lines: 50,
statements: 50,
},
},