Storybook: api.on is not a function

Created on 25 Mar 2019  路  8Comments  路  Source: storybookjs/storybook

Describe the bug
Tried to implement the jest addon. the moment I add the addon it's giving me the above error in console

To Reproduce

  1. Go to .storybook/addons.js
    and add import '@storybook/addon-jest/register'
jest question / support

Most helpful comment

They should be the same version

All 8 comments

@ndelangen Please check the above issue .Thanks

What version?

@storybook/react - 4.0.12

What version of addon-jest?

@storybook/addon-jest - 5.0.5

There you go... 馃槈

please expalin it .

They should be the same version

Was this page helpful?
0 / 5 - 0 ratings