Open LaikaTheSpaceDog opened 6 months ago
Could you send all the versions for storybook packages? Also would make sense to align the react-native-server version with the react native package version.
Also if you've updated from 5.3 to 6.5 there are breaking changes that you would need to manually resolve. I can send you the guide if thats the case.
Apologies, we were indeed running the same versions for both the @storybook/react-native
and @storybook/react-native-server
packages but in the process of debugging I'd downgraded the react-native-server app and forgot to revert the change. However, the issue I described does still present when both are on version 6.5.6
.
Also those are the only two storybook packages we are using in the app.
In v7 theres a new way to run tests on stories, see my examples in https://github.com/storybookjs/react-native/pull/551
Describe the bug In our app we have some unit tests to check that all of our Storybooks are rendering correctly. We have recently been updating our React Native version to the latest version (0.73.1), but since then our unit test has begun failing with this error:
To Reproduce Implement test form snippet below in a RN app (version 0.73.1) using storybooks
Expected behavior Test should run rather than fail
Code snippets Here is a basic reproduction of the test we are running that is failing:
System: