storybookjs / testing-vue3

Testing utilities that allow you to reuse your stories in your unit tests
16 stars 7 forks source link

Library does not work when using certain addons #2

Closed AlmarAubel closed 2 years ago

AlmarAubel commented 2 years ago

Describe the bug When running composeStories in stories that have certain addons, such as storybook-addons-design, the tests break with the following error:

 Error: Uncaught [Error: Accessing non-existent addons channel, see https://storybook.js.org/basics/faq/#why-is-there-no-addons-channel]

Expected behavior Addons channel should not present error in the tests

See testing-react for a similar fix

yannbf commented 2 years ago

Hey @AlmarAubel thanks for your contribution!