You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to write some integration tests using storybook, vitest, and MSW for a project my company is working on, but I'm running into an issue getting storybook stories to render correctly. The issue I'm having is that I haven't been able to find away of rendering a component, and then waiting for all the asynchronous data to load, before moving on to testing. Has anyone over came this issue? or found a way to wait until the component is in it's final state before moving on to tests?
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently trying to write some integration tests using storybook, vitest, and MSW for a project my company is working on, but I'm running into an issue getting storybook stories to render correctly. The issue I'm having is that I haven't been able to find away of rendering a component, and then waiting for all the asynchronous data to load, before moving on to testing. Has anyone over came this issue? or found a way to wait until the component is in it's final state before moving on to tests?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions