angular-cn/packages/common/testing/src
Lars Gyrup Brink Nielsen 7edb026619 fix(common): prevent duplicate URL change notifications (#37459)
Prevent duplicate notifications from being emitted when multiple URL change listeners are registered using SpyLocation#onUrlChange.

Use `@internal` annotation for the `_urlChangeSubscription` properties instead of the `private` access modifier. Otherwise, we get in trouble because of  `SpyLocation implements Location`.

PR Close #37459
2020-06-09 08:26:34 -07:00
..
location_mock.ts fix(common): prevent duplicate URL change notifications (#37459) 2020-06-09 08:26:34 -07:00
mock_location_strategy.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
mock_platform_location.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
testing.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00