You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/stateSpec.js
+19-2
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,21 @@ describe('state', function () {
233
233
expect(called).toBeFalsy();
234
234
}));
235
235
236
-
it('updates URL when changing only query params via $state.go() when reloadOnSearch=false',inject(function($state,$stateParams,$q,$location,$rootScope){
236
+
it('updates $stateSearch when state.reloadOnSearch=false',inject(function($state,$stateParams,$stateSearch,$q,$location,$rootScope){
it('updates URL when changing only query params via $state.go() when reloadOnSearch=false',inject(function($state,$stateParams,$stateSearch,$q,$location,$rootScope){
237
251
initStateTo(RS);
238
252
varcalled;
239
253
$state.go(".",{term: 'goodbye'});
@@ -242,6 +256,8 @@ describe('state', function () {
0 commit comments