This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -787,7 +787,7 @@ describe('$location', function() {
787
787
788
788
expect ( $browser . url ( ) ) . toEqual ( 'http://server/app/Home' ) ;
789
789
expect ( $location . path ( ) ) . toEqual ( '/Home' ) ;
790
- expect ( $browserUrl . calls . length ) . toEqual ( 3 ) ;
790
+ expect ( $browserUrl . calls . length ) . toEqual ( 1 ) ;
791
791
} ) ;
792
792
} ) ;
793
793
@@ -804,7 +804,7 @@ describe('$location', function() {
804
804
805
805
expect ( $browser . url ( ) ) . toEqual ( 'http://server/app/' ) ;
806
806
expect ( $location . path ( ) ) . toEqual ( '/' ) ;
807
- expect ( $browserUrl . calls . length ) . toEqual ( 2 ) ;
807
+ expect ( $browserUrl . calls . length ) . toEqual ( 0 ) ;
808
808
} ) ;
809
809
} ) ;
810
810
@@ -821,7 +821,7 @@ describe('$location', function() {
821
821
822
822
expect ( $browser . url ( ) ) . toEqual ( 'http://server/app/Home' ) ;
823
823
expect ( $location . path ( ) ) . toEqual ( '/Home' ) ;
824
- expect ( $browserUrl . calls . length ) . toEqual ( 2 ) ;
824
+ expect ( $browserUrl . calls . length ) . toEqual ( 1 ) ;
825
825
} ) ;
826
826
} ) ;
827
827
@@ -838,7 +838,7 @@ describe('$location', function() {
838
838
839
839
expect ( $browser . url ( ) ) . toEqual ( 'http://server/app/' ) ;
840
840
expect ( $location . path ( ) ) . toEqual ( '/' ) ;
841
- expect ( $browserUrl . calls . length ) . toEqual ( 1 ) ;
841
+ expect ( $browserUrl . calls . length ) . toEqual ( 0 ) ;
842
842
} ) ;
843
843
} ) ;
844
844
} ) ;
You can’t perform that action at this time.
0 commit comments