@angular/common/testing

From Get docs
< @angular/commonAngular/docs/9/api/common/testing


@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://v9.angular.io/api/common/testing