React |Testing in React | Question 8

Last Updated :
Discuss
Comments

What should be avoided when using snapshot testing?

Snapshot tests for non-UI logic

Frequent changes to the snapshot without validating

Using Jest’s toMatchSnapshot() in all tests

Both B and C

Share your thoughts in the comments