Open sw-tracker opened 1 year ago
Having the same error despite the addon being setup correctly
@yannbf is this a known thing?
same error here
Possibly unrelated but I was getting this error when using an external React component (from an installed dependency) within the render/component of a story. It was the external component that could not be instrumented as removing it allowed the coverage tests to run.
npx sb upgrade
seems to have resolved my issue now (although I was only using one workspace).
Alternatively you could try specifying where you want coverage from with the include
configuration ?
Describe the bug
I have 2 yarn workspaces, one containing my app and another containing storybook.
Steps to reproduce the behavior
I have also ejected storybook to get the tests to run:
Expected behavior
Tests with coverage work.
Screenshots and/or logs
Error:
Environment