Inside my ./src/app/global-team
folder, there are a-z folders. I want to set my threshold level on all folders aggregated except d, f, and y. I want to get the aggregate numbers instead of numbers per folder/file. My closest attempt is the following which reports the numbers by file:
coverageThreshold: {
'./src/app/global-team/!(d|f|y)/**': {
branches: 95,
functions: 95,
lines: 95,
statements: 95
}
}
And removing the ** wild cards doesn't work: './src/app/global-team/!(d|f|y)/
What would be the correct glob to exclude some subfolders but have the report at aggregate level?
question from:https://stackoverflow.com/questions/65894304/jest-coveragethreshold-glob-exclude-some-sub-folders