W3cubDocs

/Angular

@angular/common/testing

package

Entry point exports

Classes

MockLocationStrategy

A mock implementation of LocationStrategy that allows tests to fire simulated location events.

MockPlatformLocation

Mock implementation of URL state.

SpyLocation

A spy for Location that allows tests to fire simulated location events.

Structures

MockPlatformLocationConfig

Mock platform location config

Types

MOCK_PLATFORM_LOCATION_CONFIG

Provider for mock platform location config

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/testing