@angular/router/testing
Supplies a testing module for the Angular Router
subsystem.
入口点的导出
Entry point exports
NgModules
RouterTestingModule | 设置要用于测试的路由器。 Sets up the router to be used for testing. |
类
Classes
SpyNgModuleFactoryLoader | 允许模拟测试中 ng 模块的加载。 Allows to simulate the loading of ng modules in tests. |
函数
Functions
setupTestingRouter | 用于测试的路由器设置工厂函数。 Router setup factory function used for testing. |