Test cases failing after adding ionic.bundle.js


#1

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.


#2

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.