Open unional opened 1 year ago
Is there anyone still alive here
Is there anyone still alive here
Old, but the way I got around this was to use --excludeTags
(or --includeTags
) and add tags to what is not covered. The tests will skip (this was fine in our case), but to get around that you could do a separate run without the coverage flag on those tests and use --includeTags
.
I agree it sucks though, it should still run the tests with a possible warning
Describe the bug
I have some stories I want to exclude from coverage. So I have this config:
When running
test-storybook --coverage
, those stories failed with:Steps to reproduce the behavior
https://github.com/cyberuni/storybook-coverage-instrument-issue
Expected behavior
Those stories should be excluded from the coverage and should not fail.
Screenshots and/or logs
Environment
Additional context