We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab5f6b commit 285db73Copy full SHA for 285db73
packages/mocks/storybook/decorator.js
@@ -56,7 +56,7 @@ export const withMocks = makeDecorator({
56
});
57
58
if (finalizedMocks) {
59
- addons.getChannel().emit('mocks:loaded', finalizedMocks);
+ addons.getChannel().emit('mocks:loaded', finalizedMocks.flat(Infinity));
60
registerMockRoutes(finalizedMocks);
61
}
62
0 commit comments