Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cglango opened this issue Sep 10, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@cglango
Copy link

cglango commented Sep 10, 2024

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

  • OS: macOS Sonoma
  • Node.js version: v22.2.0
  • PNPM version: 9.5.0
  • Browser: Chrome
  • @storybook/nextjs 8.2.9
  • @nx/storybook 19.6.6
  • @storybook/addon-coverage 1.0.4
@cglango cglango added the bug Something isn't working label Sep 10, 2024
@cglango cglango changed the title [Bug] Code is not instrumented with @storybook/nextjs and @nx/storybook Code is not instrumented with @storybook/nextjs and @nx/storybook Sep 10, 2024
@malinskibeniamin
Copy link

#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants