ng-mocks
ng-mocks copied to clipboard
Feature Request: Documentation for functional route guards without the use of NgModule
Describe the feature or problem you'd like to solve
Provide an example in the documentation for how to test functional route guards without using NgModule
Proposed solution
People who don't use NgModule anymore will be able to understand how to use ng-mocks more easily
Additional context
The existing documentation is great, but does make use of NgModule. . It would be great to see the example of how to setup ng-mocks using the provideRouter
and bootstrapApplication()
instead of RouterModule.forRoot()
and any NgModules