This test tests the way the component handles the api calls and how it handles the responses. I remount the component in every test so that there's no cross contamination between tests. In other words, to reset the state to a blank slate.
Here are the tests that I'm running
renders a loading indicator on mounted (not an api related test)
TEST:
MyGallery
integration testThis test tests the way the component handles the api calls and how it handles the responses. I remount the component in every test so that there's no cross contamination between tests. In other words, to reset the state to a blank slate. Here are the tests that I'm running