Thanks very much for the steer; React Testing Library seems to be the way to go for this sort of thing.
I think one issue I had was some of my packages were missing / out-of-date which was throwing some errors. In the end, after updating packages and importing @testing-library/jest-dom, I used this which seems to be working:
Hi Zak,
Thanks very much for the steer; React Testing Library seems to be the way to go for this sort of thing.
I think one issue I had was some of my packages were missing / out-of-date which was throwing some errors. In the end, after updating packages and importing @testing-library/jest-dom, I used this which seems to be working:
Thanks again,
Mark