Open sandalwoodbox opened 2 years ago
See https://testing-library.com/docs/react-testing-library/setup#custom-render for description of how to do this - simplifies standardizing the test setup for components.
Would it be possible to also mock callApi once as part of this?
See https://testing-library.com/docs/react-testing-library/setup#custom-render for description of how to do this - simplifies standardizing the test setup for components.