@angular/common/testing

入口点的导出

MockLocationStrategy

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

SpyLocation

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