填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

@angular/common/testing

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

入口点的导出

Entry point exports

Classes

MockLocationStrategy

的模拟实现,允许测试触发模拟的 location 事件。

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

LocationStrategy
MockPlatformLocation

URL 状态的模拟实现。

Mock implementation of URL state.

SpyLocation

的间谍对象,它允许测试者触发模拟的位置事件。

A spy for Locationthat allows tests to fire simulated location events.

Location

结构

Structures

MockPlatformLocationConfig

模拟平台的 location 配置

Mock platform location config

类型

Types

MOCK_PLATFORM_LOCATION_CONFIG

模拟平台 location 配置的提供者

Provider for mock platform location config