W3cubDocs

/Angular 12

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