Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit af2da25

Browse files
committed
fixup! fix($location): avoid unnecessary $locationChange* events due to empty hash
1 parent efb1706 commit af2da25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/browserSpecs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ describe('browser', function() {
10661066
inject(function($flushPendingTasks, $location, $rootScope) {
10671067
$rootScope.$digest();
10681068

1069-
const spy = jasmine.createSpy('$locationChangeStart');
1069+
var spy = jasmine.createSpy('$locationChangeStart');
10701070
$rootScope.$on('$locationChangeStart', spy);
10711071

10721072
$rootScope.$evalAsync(function() {

0 commit comments

Comments
 (0)