Skip to content

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

Open

Description

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions