mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| extra_router_testing_providers.ts | ||
| router_testing_module.ts | ||
| spy_ng_module_factory_loader.ts | ||
| testing.ts | ||