mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
fix(ci): exclude stories from jest coverage
This commit is contained in:
@@ -61,6 +61,12 @@
|
||||
"storybook": "start-storybook",
|
||||
"snapshot": "build-storybook --quiet -s public && percy-storybook --widths=700,1280"
|
||||
},
|
||||
"jest": {
|
||||
"collectCoverageFrom": [
|
||||
"src/**/*.{js,jsx}",
|
||||
"!src/**/*.stories.{js,jsx}"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/travis-cli": "8.1.0",
|
||||
"@percy-io/percy-storybook": "2.1.0",
|
||||
|
||||
Reference in New Issue
Block a user