Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(components): measure checkbox interaction performance
We're not server-side rendering components and I suspect that this is triggering exceptions when the storybook-addon-performance tries to run server tasks. Luckily there is a workaround, introduced in atlassian-labs/storybook-addon-performance#40. chore/storybook-performance-addon diff --git a/.storybook/preview.js b/.storybook/preview.js index c05206c8..c47272ba 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -79,6 +79,12 @@ const withTrackingAction = (Story) => ( </TrackingRoot> ); +addParameters({ + performance: { + allowedGroups: ['client'], + }, +}); + export const decorators = [ withThemeProvider, // withStoryStyles, chore/storybook-performance-addon chore/storybook-performance-addon
- Loading branch information