storybookjs / addon-coverage

MIT License
21 stars 9 forks source link

Code is not instrumented with `@storybook/nextjs` and `@nx/storybook` #47

Open cglango opened 3 weeks ago

cglango commented 3 weeks ago

Describe the bug

Followed all the documentation, tried every variation of config I can think of... Only ever get this error:

    [Test runner] An error occurred when evaluating code coverage:
      The code in this story is not instrumented, which means the coverage setup is likely not correct.

Environment

malinskibeniamin commented 1 week ago

https://github.com/storybookjs/addon-coverage/issues/48 This is similar in some way, I think it has something to do with the fact some addons may be skipped for custom bundlers like nextjs/rsbuild