You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storybok Test supports code coverage out of the box.
However, unless the user configures otherwise, it includes storybook-static in its coverage calculation. Since none of that code is tested, this makes the coverage results artificially low.
Since it's quite common to build a static storybook for any variety of reasons (including running the Visual test addon) we should exclude storybook-static from coverage out of the box if possible.
Reproduction link
N/A
Reproduction steps
Run coverage in Storybook Test
Build your storybook storybook build
Run coverage in Storybook Test & observe dramatically reduced coverage
System
any
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Storybok Test supports code coverage out of the box.
However, unless the user configures otherwise, it includes
storybook-static
in its coverage calculation. Since none of that code is tested, this makes the coverage results artificially low.Since it's quite common to build a static storybook for any variety of reasons (including running the Visual test addon) we should exclude
storybook-static
from coverage out of the box if possible.Reproduction link
N/A
Reproduction steps
storybook build
System
Additional context
No response
The text was updated successfully, but these errors were encountered: