@angular/common/testing

entry-point

Supplies infrastructure for testing functionality supplied by @angular/common.

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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/common/testing