Test cases started failing after adding ionic.bundle.js. It says not able to load ngMock. It fails when it tries to inject $location.When I had no ionic, all tests were passing.
Was able to solve the prob… ionic.bundle.js is a concatenation of: ionic.js, angular.js, angular-animate.js, angular-sanitize.js, angular-ui-router.js,and ionic-angular.js…along with this bundle file I was also including other version of angular.js file…So I removed the ionic.bundle.js and included ionic.js and ionic-angular.js…It worked. All tests are passing now.