mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c0c7efaf7c
This commit adds the `provideLocationMocks()` function that returns mocks for the `Location` and `LocationStrategy` classes. This function can be used in tests to configure an environment where it's possible to fire simulated location events (helpful when testing Router configuration). PR Close #47674