Configure Jest & React Testing Library in Vite

I faced lot of issues in doing setup for jest and react testing library. So thought it might be useful for you as well.