Karma + jasmine + angular + ui router - testing for resolve with state.go with params
I have state defined in my angular module "moduleB" as follows $stateProvider .state('stateB', { parent: 'stateA', abstract: true, templateUrl : baseUrl+'/templates/stateB.html' }) .state('stateB.details', { url: '/stateB/details/:param1/:param2', resolve : { value3 : ['$localStorage', '$stateParams', function($localStorage, $stateParams){ return $localStorage.value3[$stateParams.param1]; }] }, views : { 'view1' : { templateUrl : baseUrl+'/templates/view1.html', controller: 'View1Ctrl' }, 'view2' : { templateUrl : baseUrl+'/templates/view2.html', controller : 'View2Ctrl' } } }) I would like to