Storybook: Runtime errors during story loading should fail storyshots

Created on 10 Oct 2020  路  2Comments  路  Source: storybookjs/storybook

Have a story with following defauilt export:

export default {
  title: 'Title',

  argTypes: {foo: undefined}
};

Run storyshots test
Expected: test fails
Actual: the subset of stories before the broken one runs successfully, others are skipped silently

P3 storyshots bug

Most helpful comment

To be clear, this is not about the error itself, but about the fact that it's swallowed. So let's keep those issues separate

All 2 comments

To be clear, this is not about the error itself, but about the fact that it's swallowed. So let's keep those issues separate

Was this page helpful?
0 / 5 - 0 ratings