angular/packages/router/testing/src
Andrew Kushnir c0c7efaf7c feat(common): add provideLocationMocks() function to provide Location mocks (#47674)
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
2022-10-10 19:42:11 +00:00
..
extra_router_testing_providers.ts refactor(router): add stub files for g3 patch of NgModuleFactoryLoader (#43660) 2021-10-04 10:28:02 -07:00
router_testing_module.ts feat(common): add provideLocationMocks() function to provide Location mocks (#47674) 2022-10-10 19:42:11 +00:00
spy_ng_module_factory_loader.ts refactor(router): add stub files for g3 patch of NgModuleFactoryLoader (#43660) 2021-10-04 10:28:02 -07:00
testing.ts refactor(router): add stub files for g3 patch of NgModuleFactoryLoader (#43660) 2021-10-04 10:28:02 -07:00