What is the main purpose of snapshot testing in React?
To measure the performance of the component
To ensure the UI does not change unexpectedly
To check for memory leaks
To test asynchronous components
This question is part of this quiz :
Testing in React