How to write unit test case for the component having a 2000 line of code or having complex functionality. Or let say I have component having lots of function the. How can I write test case using jest please help I don’t even understand this concept. I saw a lots of videos where they are showing with small small example only.