Skip to content
Snippets Groups Projects
Unverified Commit 37852ea7 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Exclude storybook (*.stories) from coverage collection (#22661)

We are not running tests which exercise those *.stories files, hence it
is not fair to include them in the coverage analysis.
parent 76fac0c7
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,8 @@
"coverageReporters": ["text", "html", "lcov"],
"collectCoverageFrom": [
"frontend/src/**/*.{js,jsx,ts,tsx}",
"enterprise/frontend/src/**/*.{js,jsx,ts,tsx}"
"enterprise/frontend/src/**/*.{js,jsx,ts,tsx}",
"**/*.stories.{js,jsx,ts,tsx}"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment