angular/packages/common/testing/src
Andrew Scott c795960ada feat(common): Add experimental support for the Navigation API (#63406)
The navigation API is part of interop 2025. You can find the
implementation status for each major browser here:

https://wpt.fyi/results/navigation-api?label=master&label=experimental&aligned&view=interop&q=label%3Ainterop-2025-navigation

https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API

BREAKING CHANGE: (test only) - `TestBed` now provides a fake `PlatformLocation`
implementation that supports the Navigation API. This may break some
tests, though we have not observed any failures internally. You can revert to the
old default for `TestBed` by providing the `MockPlatformLocation` from
`@angular/common/testing` in your providers:
`{provide: PlatformLocation, useClass: MockPlatformLocation}`

PR Close #63406
2025-08-28 11:48:03 -07:00
..
navigation feat(common): Add experimental support for the Navigation API (#63406) 2025-08-28 11:48:03 -07:00
location_mock.ts docs: rename @nodoc to @docs-private (#61194) 2025-05-09 10:23:00 -07:00
mock_location_strategy.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
mock_platform_location.ts feat(common): Add experimental support for the Navigation API (#63406) 2025-08-28 11:48:03 -07:00
private_export.ts refactor(core): Add fake navigation to primitives for code sharing (#59857) 2025-02-19 20:09:10 +00:00
provide_location_mocks.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
testing.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00