Hi Dheeraj, sorry I didn't answer earlier but I don't check my blog that often.

The problem you have seems to be with Karma's config file where you must set where your project files are so it knows who is "miniApp", also, have a look at the requireJs config too, just in case.

That said, this post was written nearly 2 years ago and things have evolved a bit in this time, instead of Mocha you should use Jasmine, and actually, there's many new tools with Selenium and other frameworks to help with this nowadays I'm afraid. I didn't have the chance to get into those as the projects where I've been lately didn't have budget to do FrontEnd automated testing but as soon as I get into them I will write something in this blog ;)