Downgrading to versions 3.1.0 and 3.0.0 did not help - with these versions story preview does not show at all (error).
Before adding storybook-addon-mock everything worked as expected.
The callback function in matchMock method in esm/utils/faker.js receives '/runtime-error' as a parameter (url) but there is no request like this made anywhere by the app so I assume this is some Storybook internals.
The bug is quite serious because even navigating away from the story using the storybook-addon-mock does not stop the overflow.
I'd be very happy to see a solution/work-around for this issue as it prevents us from using our most crucial stories.
Mocking requests works fine, but there's an infinite loop causing excessive resources usage, which prevents us from releasing code to server.
Storybook configuration:
Downgrading to versions
3.1.0
and3.0.0
did not help - with these versions story preview does not show at all (error). Before addingstorybook-addon-mock
everything worked as expected.The callback function in
matchMock
method inesm/utils/faker.js
receives'/runtime-error'
as a parameter (url
) but there is no request like this made anywhere by the app so I assume this is some Storybook internals.The bug is quite serious because even navigating away from the story using the
storybook-addon-mock
does not stop the overflow.I'd be very happy to see a solution/work-around for this issue as it prevents us from using our most crucial stories.
Thanks!