twenty/front/nyc.config.js
Charles Bochet 645f2b42c2
Boost CI (#1643)
* Boost CI

* Split CI tests in 2

* Try caching node modules

* Try caching node modules

* Try caching node modules

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Separate jest tests

* Fix typo

* Re-order tests jobs
2023-09-18 19:07:38 -07:00

20 lines
380 B
JavaScript

const modulesCoverage = {
"statements": 50,
"lines": 50,
"functions": 45,
"include": [
"src/modules/**/*",
]
};
const pagesCoverage = {
"statements": 55,
"lines": 55,
"functions": 55,
"exclude": [
"src/generated/**/*",
"src/modules/**/*",
]
};
module.exports = process.env.STORYBOOK_STORIES_FOLDER === 'modules' ? modulesCoverage : pagesCoverage;