@angular/router/testing

入口点的导出

模块

RouterTestingModule

Sets up the router to be used for testing.

SpyNgModuleFactoryLoader

Allows to simulate the loading of ng modules in tests.

函数

setupTestingRouter

Router setup factory function used for testing.