Open
Description
I'm trying to run smoke tests for stories including custom ErrorBoundary component.
When running storybook smoke tests. It is failing when there is story for ErrorBoundary with children throwing error.
Here is simple repro
Steps to reproduce:
git clone https://github.com/diginikkari/test-runner-errorboundary-issue
cd test-runner-errorboundary-issue
yarn
yarn storybook
- in second terminal:
yarn test-storybook
Note!
When I used child component which throwed after mount (with useError) then it wasn't failing for the first story in the file.