Help Angular by taking a 1 minute survey!Go to surveyHome

@angular/router/testing

Entry point exports

NgModules

RouterTestingModule

Sets up the router to be used for testing.

Classes

SpyNgModuleFactoryLoader

Allows to simulate the loading of ng modules in tests.

Functions

setupTestingRouter

Router setup factory function used for testing.