Replies: 1 comment
-
cc @yannbf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
cc @yannbf |
Beta Was this translation helpful? Give feedback.
-
Summary
I'm having an issue with the
--coverage
flag, which fails with:What's strange is that the issue happens, whether i'm running tests on a build (prod or test), and on dev mode. Without the
--coverage
flag the tests are running successfully. I looked into the docs several times, but haven't found any leads, and i'm completely out of ideas.Any help would be appreciated!
Additional information
No response
Create a reproduction
https://github.com/tol-is/storybook-coverage-issue-repro
Also created a non-monorepo setup, and had the exactly same issue
https://github.com/tol-is/storybook-coverage-solo-repro
And last, created a nextjs setup, and added testing as it was out-of-the-box, and still getting the same
not instrumented
errorhttps://github.com/tol-is/storybook-next-coverage-repro
Beta Was this translation helpful? Give feedback.
All reactions