How to write tests on NextJS apps using JEST Framework.
First things first-
It was really challenging to set-up the jest framework in the sense of configuration but eventually got it right.
I learnt about adding jest into my next.js project by first installing jest.