angular/packages/platform-browser/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
..
browser.ts feat(common): Add experimental support for the Navigation API (#63406) 2025-08-28 11:48:03 -07:00
dom_test_component_renderer.ts feat(core): add option to infer the tag names of components in tests (#62283) 2025-07-23 07:30:36 -04:00
testing.ts fix(platform-browser): ensure platformBrowserTesting includes platformBrowser providers (#60480) 2025-03-20 12:33:12 -07:00